Mercurial > hg > nginx-quic
comparison src/core/ngx_connection.c @ 256:8e39cab6abd5
nginx-0.0.2-2004-02-10-19:23:38 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Feb 2004 16:23:38 +0000 |
parents | b6793bc5034b |
children | 70e1c7d2b83d |
comparison
equal
deleted
inserted
replaced
255:e6938ca7331a | 256:8e39cab6abd5 |
---|---|
241 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text) | 241 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text) |
242 { | 242 { |
243 ngx_int_t level; | 243 ngx_int_t level; |
244 | 244 |
245 if (err == NGX_ECONNRESET | 245 if (err == NGX_ECONNRESET |
246 && c->read->log_error == NGX_ERROR_IGNORE_ECONNRESET) | 246 && c->log_error == NGX_ERROR_IGNORE_ECONNRESET) |
247 { | 247 { |
248 return 0; | 248 return 0; |
249 } | 249 } |
250 | 250 |
251 if (err == NGX_ECONNRESET || err == NGX_EPIPE || err == NGX_ENOTCONN) { | 251 if (err == NGX_ECONNRESET || err == NGX_EPIPE || err == NGX_ENOTCONN) { |
252 | 252 |
253 switch (c->read->log_error) { | 253 switch (c->log_error) { |
254 | 254 |
255 case NGX_ERROR_INFO: | 255 case NGX_ERROR_INFO: |
256 level = NGX_LOG_INFO; | 256 level = NGX_LOG_INFO; |
257 break; | 257 break; |
258 | 258 |