diff src/http/modules/ngx_http_fastcgi_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 e7b3b9855be8
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -2769,7 +2769,7 @@ ngx_http_fastcgi_merge_params(ngx_conf_t
 
             s->key = h->key;
             s->value = h->value;
-            s->skip_empty = 0;
+            s->skip_empty = 1;
 
         next: