Mercurial > hg > nginx
annotate auto/lib/sha1/makefile.owc @ 5929:f436e9a60b8f
Cache: proper wakeup of subrequests.
In case of a cache lock timeout and in the aio handler we now call
r->write_event_handler() instead of a connection write handler,
to make sure to run appropriate subrequest. Previous code failed to run
inactive subrequests and hence resulted in suboptimal behaviour, see
report by Yichun Zhang:
http://mailman.nginx.org/pipermail/nginx-devel/2013-October/004435.html
(Infinite hang claimed in the report seems impossible without 3rd party
modules, as subrequests will be eventually woken up by the postpone filter.)
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 02 Dec 2014 05:54:56 +0300 |
parents | d620f497c50f |
children |
rev | line source |
---|---|
653 | 1 |
2 # Copyright (C) Igor Sysoev | |
4412 | 3 # Copyright (C) Nginx, Inc. |
653 | 4 |
5 | |
6 CFLAGS = -zq -bt=nt -bm -ot -op -oi -oe -s $(CPU_OPT) | |
7 | |
8 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
653
diff
changeset
|
9 cd $(SHA1) |
653 | 10 wcl386 -c $(CFLAGS) -dL_ENDIAN sha1dgst.c |
11 wlib -n sha1.lib sha1dgst.obj |