annotate misc/README @ 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 |
7e24168b0853 |
children |
09dbd363050a |
rev |
line source |
681
|
1
|
|
2 GNUmakefile, in svn it is available since 0.4.0 only.
|
|
3
|
|
4
|
|
5 make -f misc/GNUmakefile release
|
|
6
|
|
7 the required tools:
|
|
8 *) xsltproc to build CHANGES,
|
|
9 *) java and XSLScript ( http://pault.com/pault/XSLScript/ ) to build XSLTs
|
|
10 from XSLScript sources.
|
|
11
|
|
12
|
|
13 make -f misc/GNUmakefile icons
|
|
14
|
|
15 the required tool:
|
|
16 *) netpbm to create Win32 icons from xpm sources.
|