The official NGINX Open Source repository. https://nginx.org/
Find a file
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
auto Merging r4155, r4219, r4220, r4230: 2011-11-01 13:56:26 +00:00
conf Merging r4190, r4232: 2011-11-01 14:02:07 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.0.8-RELEASE 2011-10-01 06:00:42 +00:00
misc Merging r4179, r4182, r4212: 2011-11-01 14:00:04 +00:00
src Merging r4195, r4196: 2011-11-01 14:13:25 +00:00
.hgtags release-1.0.8 tag 2011-10-01 06:00:49 +00:00