aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_auth_basic_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2018-02-22 13:16:21 +0300
committerRoman Arutyunyan <arut@nginx.com>2018-02-22 13:16:21 +0300
commitdd7dba520c20eb81576cfa5afd4570c50e83c990 (patch)
tree477ecc1e77e6f0d4bd6155ee55c0e8ef2c0ee146 /src/http/modules/ngx_http_auth_basic_module.c
parentbcda92e843ca4f80df96bceba5918a73eaf1a71c (diff)
downloadnginx-dd7dba520c20eb81576cfa5afd4570c50e83c990.tar.gz
nginx-dd7dba520c20eb81576cfa5afd4570c50e83c990.zip
Generate error for unsupported IPv6 transparent proxy.
On some platforms (for example, Linux with glibc 2.12-2.25) IPv4 transparent proxying is available, but IPv6 transparent proxying is not. The entire feature is enabled in this case and NGX_HAVE_TRANSPARENT_PROXY macro is set to 1. Previously, an attempt to enable transparency for an IPv6 socket was silently ignored in this case and was usually followed by a bind(2) EADDRNOTAVAIL error (ticket #1487). Now the error is generated for unavailable IPv6 transparent proxy.
Diffstat (limited to 'src/http/modules/ngx_http_auth_basic_module.c')
0 files changed, 0 insertions, 0 deletions