diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-08-22 11:40:10 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-08-22 11:40:10 +0300 |
commit | d4f70116883792bd902a1761c8a09cdee042e27a (patch) | |
tree | 5d1d538e5c356ec693d5fb08b0ae1c6ced73cc2f /src/stream/ngx_stream_geo_module.c | |
parent | dabbf30377d422a0e40093e3f429fca352c633a1 (diff) | |
download | nginx-d4f70116883792bd902a1761c8a09cdee042e27a.tar.gz nginx-d4f70116883792bd902a1761c8a09cdee042e27a.zip |
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.
Diffstat (limited to 'src/stream/ngx_stream_geo_module.c')
0 files changed, 0 insertions, 0 deletions