diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-02-10 16:23:38 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-02-10 16:23:38 +0000 |
| commit | c7a2f6860669f45f5abe342163de5bc68e344816 (patch) | |
| tree | 08755593cd5f7537d0b63cf2a6c8b835e1082792 /src/core/ngx_connection.h | |
| parent | e9b2cb1b9d286cffa8053e41c87b12ce265c4f25 (diff) | |
| download | nginx-c7a2f6860669f45f5abe342163de5bc68e344816.tar.gz nginx-c7a2f6860669f45f5abe342163de5bc68e344816.tar.bz2 | |
nginx-0.0.2-2004-02-10-19:23:38 import
Diffstat (limited to 'src/core/ngx_connection.h')
| -rw-r--r-- | src/core/ngx_connection.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 6f87fd2d8..835f5e1cb 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -52,6 +52,14 @@ typedef struct { } ngx_listening_t; +typedef enum { + NGX_ERROR_CRIT = 0, + NGX_ERROR_ERR, + NGX_ERROR_INFO, + NGX_ERROR_IGNORE_ECONNRESET +} ngx_connection_log_error_e; + + struct ngx_connection_s { void *data; ngx_event_t *read; @@ -84,6 +92,8 @@ struct ngx_connection_s { ngx_int_t number; + unsigned log_error:2; /* ngx_connection_log_error_e */ + unsigned pipeline:1; unsigned unexpected_eof:1; signed tcp_nopush:2; |
