Mercurial > hg > nginx
comparison auto/headers @ 6658:7fd6b93face8
Events: fixed setting of IP_BIND_ADDRESS_NO_PORT/SO_REUSEADDR.
The IP_BIND_ADDRESS_NO_PORT option is set on upstream sockets
if proxy_bind does not specify a port. The SO_REUSEADDR option
is set on UDP upstream sockets if proxy_bind specifies a port.
Due to checking of the wrong port, IP_BIND_ADDRESS_NO_PORT was
never set, and SO_REUSEPORT was always set.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 22 Aug 2016 11:40:10 +0300 |
parents | d620f497c50f |
children |
comparison
equal
deleted
inserted
replaced
6657:3d5202c71f94 | 6658:7fd6b93face8 |
---|