comparison src/http/ngx_http.c @ 460:bb941a2996a6 NGINX_0_7_42

nginx 0.7.42 *) Change: now the "Invalid argument" error returned by setsockopt(TCP_NODELAY) on Solaris, is ignored. *) Change: now if a file specified in a "auth_basic_user_file" directive is absent, then the 405 error is returned instead of the 500 one. *) Feature: the "auth_basic_user_file" directive supports variables. Thanks to Kirill A. Korinskiy. *) Feature: the "listen" directive supports the "ipv6only" parameter. Thanks to Zhang Hua. *) Bugfix: in an "alias" directive with references to captures of regular expressions; the bug had appeared in 0.7.40. *) Bugfix: compatibility with Tru64 UNIX. Thanks to Dustin Marquess. *) Bugfix: nginx could not be built without PCRE library; the bug had appeared in 0.7.41.
author Igor Sysoev <http://sysoev.ru>
date Mon, 16 Mar 2009 00:00:00 +0300
parents a8424ffa495c
children c8cfb6c462ef
comparison
equal deleted inserted replaced
459:6ef558ffc0eb 460:bb941a2996a6
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