mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 21:53:31 -06:00
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.
This commit is contained in:
parent
067c1d2a4f
commit
3dec2b131c
@ -2769,7 +2769,7 @@ ngx_http_fastcgi_merge_params(ngx_conf_t *cf,
|
||||
|
||||
s->key = h->key;
|
||||
s->value = h->value;
|
||||
s->skip_empty = 0;
|
||||
s->skip_empty = 1;
|
||||
|
||||
next:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user