aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_geo_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-08-22 11:40:10 +0300
committerRuslan Ermilov <ru@nginx.com>2016-08-22 11:40:10 +0300
commitd4f70116883792bd902a1761c8a09cdee042e27a (patch)
tree5d1d538e5c356ec693d5fb08b0ae1c6ced73cc2f /src/stream/ngx_stream_geo_module.c
parentdabbf30377d422a0e40093e3f429fca352c633a1 (diff)
downloadnginx-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