Mercurial > hg > nginx-quic
diff 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 |
line wrap: on
line diff
--- a/auto/unix +++ b/auto/unix @@ -341,6 +341,19 @@ ngx_feature_test="setsockopt(0, SOL_SOCK . auto/feature +# Linux IP_BIND_ADDRESS_NO_PORT + +ngx_feature="IP_BIND_ADDRESS_NO_PORT" +ngx_feature_name="NGX_HAVE_IP_BIND_ADDRESS_NO_PORT" +ngx_feature_run=no +ngx_feature_incs="#include <sys/socket.h> + #include <netinet/in.h>" +ngx_feature_path= +ngx_feature_libs= +ngx_feature_test="setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0)" +. auto/feature + + # Linux transparent proxying ngx_feature="IP_TRANSPARENT"