diff src/core/ngx_connection.c @ 136:3656228c0b56 NGINX_0_3_15

nginx 0.3.15 *) Feature: the new 444 code of the "return" directive to close connection. *) Feature: the "so_keepalive" directive in IMAP/POP3 proxy. *) Bugfix: if there are unclosed connection nginx now calls abort() only on gracefull quit and active "debug_points" directive.
author Igor Sysoev <http://sysoev.ru>
date Wed, 07 Dec 2005 00:00:00 +0300
parents df17fbafec8f
children 84910468f6de
line wrap: on
line diff
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -719,6 +719,9 @@ ngx_connection_error(ngx_connection_t *c
         || err == NGX_EPIPE
 #endif
         || err == NGX_ENOTCONN
+#if !(NGX_CRIT_ETIMEDOUT)
+        || err == NGX_ETIMEDOUT
+#endif
         || err == NGX_ECONNREFUSED
         || err == NGX_EHOSTUNREACH)
     {