diff options
Diffstat (limited to 'src/http/ngx_http.h')
-rw-r--r-- | src/http/ngx_http.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index b7f010102..28c432154 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -44,22 +44,18 @@ typedef struct { char *doc_root; size_t doc_root_len; + size_t connection_pool_size; size_t request_pool_size; size_t header_buffer_size; size_t discarded_buffer_size; - unsigned int header_timeout; + ngx_msec_t header_timeout; + ngx_msec_t lingering_timeout; + time_t lingering_time; } ngx_http_server_t; typedef struct { - char *buff; - char *pos; - char *last; - char *end; -} ngx_buff_t; - -typedef struct { int status; int connection; off_t content_length; @@ -105,6 +101,7 @@ struct ngx_http_request_s { int http_minor; char *uri; + char *exten; ngx_http_request_t *main; ngx_connection_t *connection; @@ -118,6 +115,7 @@ struct ngx_http_request_s { unsigned keepalive:1; unsigned lingering_close:1; + unsigned header_read:1; unsigned process_header:1; unsigned header_timeout:1; |