nginx/src
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
..
core Merging r4193, r4194: 2011-11-01 14:09:15 +00:00
event Merging r4132, r4134, r4143, r4183, r4191, r4199: 2011-11-01 13:24:50 +00:00
http Merging r4195, r4196: 2011-11-01 14:13:25 +00:00
mail Merging r3933, r4154: 2011-09-30 13:36:33 +00:00
misc fix comments 2010-03-26 21:17:26 +00:00
mysql rename ngx_peer_addr_t to ngx_addr_t 2009-11-02 15:14:17 +00:00
os Merging r4155, r4219, r4220, r4230: 2011-11-01 13:56:26 +00:00