diff src/event/ngx_event_pipe.c @ 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 f01ab2dbcfdc
children 0fa883e92895 d9c180fcbfa7
line wrap: on
line diff