comparison src/http/ngx_http.c @ 2562:c352c419be85

ipv6only
author Igor Sysoev <igor@sysoev.ru>
date Fri, 13 Mar 2009 14:20:34 +0000
parents 2749e4bf6af0
children 684ca3b0ae14
comparison
equal deleted inserted replaced
2561:2c3cff5999a2 2562:c352c419be85
1766 1766
1767 #if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) 1767 #if (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT)
1768 ls->deferred_accept = addr->listen_conf->deferred_accept; 1768 ls->deferred_accept = addr->listen_conf->deferred_accept;
1769 #endif 1769 #endif
1770 1770
1771 #if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
1772 ls->ipv6only = addr->listen_conf->ipv6only;
1773 #endif
1774
1771 return ls; 1775 return ls;
1772 } 1776 }
1773 1777
1774 1778
1775 static ngx_int_t 1779 static ngx_int_t