annotate docs/html/50x.html @ 4195:35f4997c08ce
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).
Reported by Oleksandr V. Typlyns'kyi.
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Tue, 11 Oct 2011 18:00:23 +0000 |
parents |
6d5c1535bb9d |
children |
b5ba6f22a0fc |
rev |
line source |
657
|
1 <html>
|
|
2 <head>
|
|
3 <title>The page is temporarily unavailable</title>
|
|
4 <style>
|
|
5 body { font-family: Tahoma, Verdana, Arial, sans-serif; }
|
|
6 </style>
|
|
7 </head>
|
|
8 <body bgcolor="white" text="black">
|
663
|
9 <table width="100%" height="100%">
|
|
10 <tr>
|
|
11 <td align="center" valign="middle">
|
657
|
12 The page you are looking for is temporarily unavailable.<br/>
|
|
13 Please try again later.
|
663
|
14 </td>
|
|
15 </tr>
|
|
16 </table>
|
657
|
17 </body>
|
|
18 </html>
|