Mercurial > hg > nginx
view auto/cc/acc @ 4640:07f028df3879
Fixed segfault with filter_finalize introduced in r4621 (1.3.0).
Example configuration to reproduce:
location /image/ {
error_page 415 = /zero;
image_filter crop 100 100;
proxy_pass http://127.0.0.1:8080;
proxy_store on;
}
location /zero {
return 204;
}
The problem appeared if upstream returned (big enough) non-image file,
causing 415 to be generated by image filter.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 17 May 2012 17:41:40 +0000 |
parents | d620f497c50f |
children | 9eefb38f0005 |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. # aCC: HP ANSI C++ B3910B A.03.55.02 # C89 mode CFLAGS="$CFLAGS -Ae" CC_TEST_FLAGS="-Ae" PCRE_OPT="$PCRE_OPT -Ae" ZLIB_OPT="$ZLIB_OPT -Ae" MD5_OPT="$MD5_OPT -Ae"