aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_uwsgi_module.c
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-11-29 17:23:38 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-11-29 17:23:38 +0400
commit3dec2b131cd1787d0022fa6b7d8e7c8997c0a862 (patch)
tree9401620606220c46581e078255f48b9ca0547b70 /src/http/modules/ngx_http_uwsgi_module.c
parent067c1d2a4f48cbbaace59733c98007b793719f94 (diff)
downloadnginx-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_uwsgi_module.c')
-rw-r--r--src/http/modules/ngx_http_uwsgi_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_uwsgi_module.c b/src/http/modules/ngx_http_uwsgi_module.c
index 9c5d76213..c19c7c725 100644
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -1548,7 +1548,7 @@ ngx_http_uwsgi_merge_params(ngx_conf_t *cf, ngx_http_uwsgi_loc_conf_t *conf,
s->key = h->key;
s->value = h->value;
- s->skip_empty = 0;
+ s->skip_empty = 1;
next: