comparison auto/unix @ 6592:2c7b488a61fb

Set IP_BIND_ADDRESS_NO_PORT socket option for upstream sockets.
author Andrei Belov <defan@nginx.com>
date Mon, 20 Jun 2016 10:41:17 +0300
parents 1d0e03db9f8e
children b2ae25f274ad
comparison
equal deleted inserted replaced
6591:04d8d1f85649 6592:2c7b488a61fb
336 ngx_feature_run=no 336 ngx_feature_run=no
337 ngx_feature_incs="#include <sys/socket.h>" 337 ngx_feature_incs="#include <sys/socket.h>"
338 ngx_feature_path= 338 ngx_feature_path=
339 ngx_feature_libs= 339 ngx_feature_libs=
340 ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0)" 340 ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0)"
341 . auto/feature
342
343
344 # Linux IP_BIND_ADDRESS_NO_PORT
345
346 ngx_feature="IP_BIND_ADDRESS_NO_PORT"
347 ngx_feature_name="NGX_HAVE_IP_BIND_ADDRESS_NO_PORT"
348 ngx_feature_run=no
349 ngx_feature_incs="#include <sys/socket.h>
350 #include <netinet/in.h>"
351 ngx_feature_path=
352 ngx_feature_libs=
353 ngx_feature_test="setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0)"
341 . auto/feature 354 . auto/feature
342 355
343 356
344 # Linux transparent proxying 357 # Linux transparent proxying
345 358