comparison 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
comparison
equal deleted inserted replaced
5450:9868c72f6f43 5451:e68af4e3396f
1546 return NGX_ERROR; 1546 return NGX_ERROR;
1547 } 1547 }
1548 1548
1549 s->key = h->key; 1549 s->key = h->key;
1550 s->value = h->value; 1550 s->value = h->value;
1551 s->skip_empty = 0; 1551 s->skip_empty = 1;
1552 1552
1553 next: 1553 next:
1554 1554
1555 h++; 1555 h++;
1556 } 1556 }