mirror of
https://github.com/nginx/nginx.git
synced 2026-11-24 00:59:44 +00:00
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). |
||
|---|---|---|
| .. | ||
| modules | ||
| ngx_http.c | ||
| ngx_http.h | ||
| ngx_http_busy_lock.c | ||
| ngx_http_busy_lock.h | ||
| ngx_http_cache.h | ||
| ngx_http_config.h | ||
| ngx_http_copy_filter_module.c | ||
| ngx_http_core_module.c | ||
| ngx_http_core_module.h | ||
| ngx_http_file_cache.c | ||
| ngx_http_header_filter_module.c | ||
| ngx_http_parse.c | ||
| ngx_http_parse_time.c | ||
| ngx_http_postpone_filter_module.c | ||
| ngx_http_request.c | ||
| ngx_http_request.h | ||
| ngx_http_request_body.c | ||
| ngx_http_script.c | ||
| ngx_http_script.h | ||
| ngx_http_special_response.c | ||
| ngx_http_upstream.c | ||
| ngx_http_upstream.h | ||
| ngx_http_upstream_round_robin.c | ||
| ngx_http_upstream_round_robin.h | ||
| ngx_http_variables.c | ||
| ngx_http_variables.h | ||
| ngx_http_write_filter_module.c | ||