Mercurial > hg > nginx
comparison src/http/modules/ngx_http_scgi_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 | 9d056f10fb99 |
comparison
equal
deleted
inserted
replaced
5450:9868c72f6f43 | 5451:e68af4e3396f |
---|---|
1504 return NGX_ERROR; | 1504 return NGX_ERROR; |
1505 } | 1505 } |
1506 | 1506 |
1507 s->key = h->key; | 1507 s->key = h->key; |
1508 s->value = h->value; | 1508 s->value = h->value; |
1509 s->skip_empty = 0; | 1509 s->skip_empty = 1; |
1510 | 1510 |
1511 next: | 1511 next: |
1512 | 1512 |
1513 h++; | 1513 h++; |
1514 } | 1514 } |