[nginx] Set IP_BIND_ADDRESS_NO_PORT socket option for upstream sockets.

Andrei Belov defan at nginx.com
Wed Jul 6 03:58:22 UTC 2016

Hi Lukas,

> On 06 Jul 2016, at 01:49, Lukas Tribus <luky-37 at hotmail.com> wrote:
>>> if (setsockopt(s, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT
>> Isn't this a SOL_IP socket option?
> Actually SOL_IP and IPPROTO_IP are the same thing, so it doesn't make any difference.


And yes, it does cover IPv6 as well.

More information about the nginx-devel mailing list