Mercurial > hg > nginx
comparison src/core/ngx_connection.h @ 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 | 6bdf858bff8c |
comparison
equal
deleted
inserted
replaced
255:e6938ca7331a | 256:8e39cab6abd5 |
---|---|
50 unsigned deferred_accept:1; | 50 unsigned deferred_accept:1; |
51 #endif | 51 #endif |
52 } ngx_listening_t; | 52 } ngx_listening_t; |
53 | 53 |
54 | 54 |
55 typedef enum { | |
56 NGX_ERROR_CRIT = 0, | |
57 NGX_ERROR_ERR, | |
58 NGX_ERROR_INFO, | |
59 NGX_ERROR_IGNORE_ECONNRESET | |
60 } ngx_connection_log_error_e; | |
61 | |
62 | |
55 struct ngx_connection_s { | 63 struct ngx_connection_s { |
56 void *data; | 64 void *data; |
57 ngx_event_t *read; | 65 ngx_event_t *read; |
58 ngx_event_t *write; | 66 ngx_event_t *write; |
59 | 67 |
82 | 90 |
83 ngx_hunk_t *buffer; | 91 ngx_hunk_t *buffer; |
84 | 92 |
85 ngx_int_t number; | 93 ngx_int_t number; |
86 | 94 |
95 unsigned log_error:2; /* ngx_connection_log_error_e */ | |
96 | |
87 unsigned pipeline:1; | 97 unsigned pipeline:1; |
88 unsigned unexpected_eof:1; | 98 unsigned unexpected_eof:1; |
89 signed tcp_nopush:2; | 99 signed tcp_nopush:2; |
90 #if (HAVE_IOCP) | 100 #if (HAVE_IOCP) |
91 unsigned accept_context_updated:1; | 101 unsigned accept_context_updated:1; |