﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1553	поддержка IP_BIND_ADDRESS_NO_PORT на CentOS 7.4 и выше	Илья Шипицин		"поддержка IP_BIND_ADDRESS_NO_PORT появилась в ядре 4.2, кажется, но силами RedHat она была портирована в ядро 3.10

однако,константа IP_BIND_ADDRESS_NO_PORT определена  в случае RedHat в другом заголовочном файле, нежели она должна быть, поэтому при сборке nginx-1.13.12 данная опция не включается


{{{
checking for IP_BIND_ADDRESS_NO_PORT

objs/autotest.c: In function 'main':
objs/autotest.c:8:31: error: 'IP_BIND_ADDRESS_NO_PORT' undeclared (first use in this function)
     setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0);
                               ^
objs/autotest.c:8:31: note: each undeclared identifier is reported only once for each function it appears in
----------

#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
                  #include <netinet/in.h>

int main(void) {
    setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0);
    return 0;
}

}}}



хотя могла бы


{{{
[root@nginx-build nginx-1.13.12]# grep -r IP_BIND_ADDRESS_NO_PORT /usr/include/
/usr/include/linux/in.h:#define IP_BIND_ADDRESS_NO_PORT	24
[root@nginx-build nginx-1.13.12]# 

}}}



"	enhancement	closed	minor		nginx-package	1.13.x	wontfix				1.13.12
