diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2011-08-29 12:45:03 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2011-08-29 12:45:03 +0000 |
| commit | 65a179b308bf5a472de4c7a2a20dba08a69651e7 (patch) | |
| tree | 456cb9c196a839d03b5c759173fd7a0ab5fbc4ab /src/http/ngx_http_core_module.h | |
| parent | 6bf8152c6cf9aef27609e51645a452e229c67588 (diff) | |
| download | nginx-65a179b308bf5a472de4c7a2a20dba08a69651e7.tar.gz nginx-65a179b308bf5a472de4c7a2a20dba08a69651e7.tar.bz2 | |
Merge of r3982, r3984, r3985, r3991:
Lingering closing related fixes:
*) lingering_close "off|on|always"
*) enable lingering close for pipelined requests
*) do not send RST on normal lingering close read timeout,
if reset_timedout_connection is on
Diffstat (limited to 'src/http/ngx_http_core_module.h')
| -rw-r--r-- | src/http/ngx_http_core_module.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h index 729ef9721..165e7c051 100644 --- a/src/http/ngx_http_core_module.h +++ b/src/http/ngx_http_core_module.h @@ -33,6 +33,11 @@ #define NGX_HTTP_SATISFY_ANY 1 +#define NGX_HTTP_LINGERING_OFF 0 +#define NGX_HTTP_LINGERING_ON 1 +#define NGX_HTTP_LINGERING_ALWAYS 2 + + #define NGX_HTTP_IMS_OFF 0 #define NGX_HTTP_IMS_EXACT 1 #define NGX_HTTP_IMS_BEFORE 2 @@ -356,6 +361,7 @@ struct ngx_http_core_loc_conf_s { ngx_uint_t keepalive_requests; /* keepalive_requests */ ngx_uint_t keepalive_disable; /* keepalive_disable */ ngx_uint_t satisfy; /* satisfy */ + ngx_uint_t lingering_close; /* lingering_close */ ngx_uint_t if_modified_since; /* if_modified_since */ ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */ |
