Mercurial > hg > nginx-quic
diff src/core/ngx_connection.c @ 537:c9ad0d9c7d59 release-0.1.43
nginx-0.1.43-RELEASE import
*) Feature: the listen(2) backlog in the "listen" directive can be
changed using the -HUP signal.
*) Feature: the geo2nginx.pl script was added to contrib.
*) Change: the FastCGI parameters with the empty values now are passed
to a server.
*) Bugfix: the segmentation fault occurred or the worker process may
got caught in an endless loop if the proxied or FastCGI server sent
the "Cache-Control" header line and the "expires" directive was
used; in the proxied mode the the bug had appeared in 0.1.29.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 30 Aug 2005 10:55:07 +0000 |
parents | 2019117e6b38 |
children | b09ee85d0ac8 |
line wrap: on
line diff
--- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -123,6 +123,8 @@ ngx_set_inherited_sockets(ngx_cycle_t *c ntohs(sin->sin_port)) - ls[i].addr_text.data; + ls[i].backlog = -1; + #if (NGX_HAVE_DEFERRED_ACCEPT && defined SO_ACCEPTFILTER) ngx_memzero(&af, sizeof(struct accept_filter_arg)); @@ -467,7 +469,8 @@ ngx_connection_error(ngx_connection_t *c return 0; } - if (err == NGX_ECONNRESET + if (err == 0 + || err == NGX_ECONNRESET #if !(NGX_WIN32) || err == NGX_EPIPE #endif