comparison src/http/ngx_http_core_module.h @ 4042:d9b486dbf7e5 stable-1.0

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
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 Aug 2011 12:45:03 +0000
parents 279083731ec6
children 82738a316a54
comparison
equal deleted inserted replaced
4041:f87edc142316 4042:d9b486dbf7e5
31 31
32 #define NGX_HTTP_SATISFY_ALL 0 32 #define NGX_HTTP_SATISFY_ALL 0
33 #define NGX_HTTP_SATISFY_ANY 1 33 #define NGX_HTTP_SATISFY_ANY 1
34 34
35 35
36 #define NGX_HTTP_LINGERING_OFF 0
37 #define NGX_HTTP_LINGERING_ON 1
38 #define NGX_HTTP_LINGERING_ALWAYS 2
39
40
36 #define NGX_HTTP_IMS_OFF 0 41 #define NGX_HTTP_IMS_OFF 0
37 #define NGX_HTTP_IMS_EXACT 1 42 #define NGX_HTTP_IMS_EXACT 1
38 #define NGX_HTTP_IMS_BEFORE 2 43 #define NGX_HTTP_IMS_BEFORE 2
39 44
40 45
354 time_t keepalive_header; /* keepalive_timeout */ 359 time_t keepalive_header; /* keepalive_timeout */
355 360
356 ngx_uint_t keepalive_requests; /* keepalive_requests */ 361 ngx_uint_t keepalive_requests; /* keepalive_requests */
357 ngx_uint_t keepalive_disable; /* keepalive_disable */ 362 ngx_uint_t keepalive_disable; /* keepalive_disable */
358 ngx_uint_t satisfy; /* satisfy */ 363 ngx_uint_t satisfy; /* satisfy */
364 ngx_uint_t lingering_close; /* lingering_close */
359 ngx_uint_t if_modified_since; /* if_modified_since */ 365 ngx_uint_t if_modified_since; /* if_modified_since */
360 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */ 366 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */
361 367
362 ngx_flag_t client_body_in_single_buffer; 368 ngx_flag_t client_body_in_single_buffer;
363 /* client_body_in_singe_buffer */ 369 /* client_body_in_singe_buffer */