Mercurial > hg > nginx
view auto/have_headers @ 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 |
line wrap: on
line source
# Copyright (C) Igor Sysoev # Copyright (C) Nginx, Inc. cat << END >> $NGX_AUTO_HEADERS_H #ifndef $have #define $have 1 #endif END