nginx/src/http
Igor Sysoev a1db86a30b Merging r4195, r4196:
AIO related fixes:

*) Fix for connection drops with AIO.

   Connections serving content with AIO to fast clients were dropped with
   "client timed out" messages after send_timeout from response start.

*) Fix for socket leak with "aio sendfile" and "limit_rate".

   Second aio post happened when timer set by limit_rate expired while we have
   aio request in flight, resulting in "second aio post" alert and socket leak.

   The patch adds actual protection from aio calls with r->aio already set to
   aio sendfile code in ngx_http_copy_filter().  This should fix other cases
   as well, e.g. when sending buffered to disk upstream replies while still
   talking to upstream.

   The ngx_http_writer() is also fixed to handle the above case (though it's
   mostly optimization now).
2011-11-01 14:13:25 +00:00
..
modules Merging r4193, r4194: 2011-11-01 14:09:15 +00:00
ngx_http.c Merging r4155, r4219, r4220, r4230: 2011-11-01 13:56:26 +00:00
ngx_http.h ngx_http_degraded() 2010-10-04 14:59:41 +00:00
ngx_http_busy_lock.c
ngx_http_busy_lock.h
ngx_http_cache.h Use more precise stat.st_blocks to account cache size on Unix 2011-04-22 10:06:43 +00:00
ngx_http_config.h ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf() 2010-08-02 15:28:04 +00:00
ngx_http_copy_filter_module.c Merging r4195, r4196: 2011-11-01 14:13:25 +00:00
ngx_http_core_module.c Merging r4147, r4148, r4149, r4150, r4207: 2011-11-01 13:45:33 +00:00
ngx_http_core_module.h Merging r4147, r4148, r4149, r4150, r4207: 2011-11-01 13:45:33 +00:00
ngx_http_file_cache.c Merging r4151, r4152, r4177: 2011-11-01 13:49:31 +00:00
ngx_http_header_filter_module.c Fix processing 2010-06-30 14:39:28 +00:00
ngx_http_parse.c style fix 2010-06-23 16:34:54 +00:00
ngx_http_parse_time.c
ngx_http_postpone_filter_module.c
ngx_http_request.c Merging r4195, r4196: 2011-11-01 14:13:25 +00:00
ngx_http_request.h Merge of r3979, r3980, r3981, r3983, r3987, r3994, r3995: 2011-08-29 10:39:23 +00:00
ngx_http_request_body.c Merging r3986, r4006, r4007, r4073: 2011-09-30 14:36:19 +00:00
ngx_http_script.c Merging r4147, r4148, r4149, r4150, r4207: 2011-11-01 13:45:33 +00:00
ngx_http_script.h fix typo 2010-09-13 12:44:43 +00:00
ngx_http_special_response.c Merging r4147, r4148, r4149, r4150, r4207: 2011-11-01 13:45:33 +00:00
ngx_http_upstream.c Merging r4151, r4152, r4177: 2011-11-01 13:49:31 +00:00
ngx_http_upstream.h Merge of r3964, r3977, r3978: 2011-08-29 12:56:09 +00:00
ngx_http_upstream_round_robin.c Merging r4011, r4012, r4136: 2011-09-30 14:30:01 +00:00
ngx_http_upstream_round_robin.h
ngx_http_variables.c change ngx_http_map_find(): use case sensitive regexes 2011-05-30 12:36:17 +00:00
ngx_http_variables.h change ngx_http_map_find(): use case sensitive regexes 2011-05-30 12:36:17 +00:00
ngx_http_write_filter_module.c