diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-04 07:04:55 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-04 07:04:55 +0000 |
commit | a536298c7bd1f525db97facab814a2906214ee7f (patch) | |
tree | 201ef9d639e1ff100684bf0a6781f59602418e35 /src/core/ngx_connection.c | |
parent | 5edf387f199efe5b67b2b81a00bc8404bea8365b (diff) | |
download | nginx-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.c | 7 |
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) { |