Mercurial > hg > nginx
changeset 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 | 9868c72f6f43 |
children | b7bf4671bb7b |
files | src/http/modules/ngx_http_fastcgi_module.c src/http/modules/ngx_http_scgi_module.c src/http/modules/ngx_http_uwsgi_module.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Fri Nov 29 17:16:06 2013 +0400 +++ b/src/http/modules/ngx_http_fastcgi_module.c Fri Nov 29 17:23:38 2013 +0400 @@ -2769,7 +2769,7 @@ s->key = h->key; s->value = h->value; - s->skip_empty = 0; + s->skip_empty = 1; next: