comparison src/http/ngx_http_core_module.h @ 2939:7d8667499ddc stable-0.7

merge r2889, r2918, and r2921: fix a pool growing and CPU usage for multi-requests keepalive connections: *) keepalive_requests *) try to reuse last 4 free large allocation links *) do not test a pool block space if we can not allocated from the block 4 times
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jun 2009 08:43:10 +0000
parents 507fc5ac9839
children 4f5753877376 501fd3ae3188
comparison
equal deleted inserted replaced
2938:b002fa81b00d 2939:7d8667499ddc
335 335
336 ngx_resolver_t *resolver; /* resolver */ 336 ngx_resolver_t *resolver; /* resolver */
337 337
338 time_t keepalive_header; /* keepalive_timeout */ 338 time_t keepalive_header; /* keepalive_timeout */
339 339
340 ngx_uint_t keepalive_requests; /* keepalive_requests */
340 ngx_uint_t satisfy; /* satisfy */ 341 ngx_uint_t satisfy; /* satisfy */
341 ngx_uint_t if_modified_since; /* if_modified_since */ 342 ngx_uint_t if_modified_since; /* if_modified_since */
342 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */ 343 ngx_uint_t client_body_in_file_only; /* client_body_in_file_only */
343 344
344 ngx_flag_t client_body_in_single_buffer; 345 ngx_flag_t client_body_in_single_buffer;