diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-11-29 17:23:38 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-11-29 17:23:38 +0400 |
commit | 3dec2b131cd1787d0022fa6b7d8e7c8997c0a862 (patch) | |
tree | 9401620606220c46581e078255f48b9ca0547b70 /src/http/modules/ngx_http_scgi_module.c | |
parent | 067c1d2a4f48cbbaace59733c98007b793719f94 (diff) | |
download | nginx-3dec2b131cd1787d0022fa6b7d8e7c8997c0a862.tar.gz nginx-3dec2b131cd1787d0022fa6b7d8e7c8997c0a862.zip |
Upstream: skip empty cache headers.
Notably this fixes HTTP_IF_MODIFIED_SINCE which was always sent with
cache enabled in fastcgi/scgi/uwsgi after 43ccaf8e8728.
Diffstat (limited to 'src/http/modules/ngx_http_scgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_scgi_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c index 9163c6b3c..d396b27c8 100644 --- a/src/http/modules/ngx_http_scgi_module.c +++ b/src/http/modules/ngx_http_scgi_module.c @@ -1506,7 +1506,7 @@ ngx_http_scgi_merge_params(ngx_conf_t *cf, ngx_http_scgi_loc_conf_t *conf, s->key = h->key; s->value = h->value; - s->skip_empty = 0; + s->skip_empty = 1; next: |