[PATCH 05/11] Socket: removed useless port < 1 check.

Andrew Clayton andrew at digital-domain.net
Thu Jun 16 17:26:09 UTC 2022


On Thu, 16 Jun 2022 17:52:42 +0200
Alejandro Colomar <alx.manpages at gmail.com> wrote:

> On 6/16/22 03:00, Andrew Clayton wrote:
> > In src/nxt_sockaddr.c::nxt_job_sockaddr_inet_parse() there is a check
> > that port > 0 then there is a check that port < 1 || port > 65535, well
> > we _know_ it can't be less than 1.  
> 
> Reviewed-by: Alejandro Colomar <alx.manpages at gmail.com>

Thanks!

Cheers,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20220616/fad9272d/attachment.bin>


More information about the unit mailing list