aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-04 07:04:55 +0000
commita536298c7bd1f525db97facab814a2906214ee7f (patch)
tree201ef9d639e1ff100684bf0a6781f59602418e35 /src/core/ngx_connection.c
parent5edf387f199efe5b67b2b81a00bc8404bea8365b (diff)
downloadnginx-a536298c7bd1f525db97facab814a2906214ee7f.tar.gz
nginx-a536298c7bd1f525db97facab814a2906214ee7f.zip
nginx-0.0.2-2004-03-04-10:04:55 import
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r--src/core/ngx_connection.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 989a0de1f..8a858735e 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -248,7 +248,12 @@ ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text)
return 0;
}
- if (err == NGX_ECONNRESET || err == NGX_EPIPE || err == NGX_ENOTCONN) {
+ if (err == NGX_ECONNRESET
+#if !(WIN32)
+ || err == NGX_EPIPE
+#endif
+ || err == NGX_ENOTCONN)
+ {
switch (c->log_error) {