diff src/http/modules/ngx_http_uwsgi_module.c @ 5451:e68af4e3396f

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Fri, 29 Nov 2013 17:23:38 +0400
parents 43ccaf8e8728
children c82b2e020b9f
line wrap: on
line diff
--- 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 *
 
             s->key = h->key;
             s->value = h->value;
-            s->skip_empty = 0;
+            s->skip_empty = 1;
 
         next: