Mercurial > hg > nginx
annotate auto/lib/sha1/makefile.msvc @ 4339:6f97afc238de
Cache: handling of cache files with long headers.
There are two possible situations which can lead to this: response was
cached with bigger proxy_buffer_size value (and nginx was restared since
then, i.e. shared memory zone content was lost), or due to the race in
the cache update code (see [1]) we've end up with fcn->body_start from
a different response stored in shared memory zone.
[1] http://mailman.nginx.org/pipermail/nginx-devel/2011-September/001287.html
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 12 Dec 2011 10:47:48 +0000 |
parents | ecdc41bf2047 |
children | d620f497c50f |
rev | line source |
---|---|
653 | 1 |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 CFLAGS = -nologo -O2 -Ob1 -Oi -Gs $(LIBC) $(CPU_OPT) -D L_ENDIAN | |
6 | |
675 | 7 !IF "$(SHA1_ASM)" == "YES" |
653 | 8 |
9 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
675
diff
changeset
|
10 cd $(SHA1) |
653 | 11 cl -c $(CFLAGS) -D SHA1_ASM sha1dgst.c |
12 link -lib -out:sha1.lib sha1dgst.obj asm/s-win32.obj | |
13 | |
675 | 14 !ELSE |
653 | 15 |
16 sha1.lib: | |
2838
ecdc41bf2047
backout r2833: CURDIR was set to Unix style path
Igor Sysoev <igor@sysoev.ru>
parents:
675
diff
changeset
|
17 cd $(SHA1) |
653 | 18 cl -c $(CFLAGS) sha1dgst.c |
19 link -lib -out:sha1.lib sha1dgst.obj | |
20 | |
675 | 21 !ENDIF |