comparison 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
comparison
equal deleted inserted replaced
5450:9868c72f6f43 5451:e68af4e3396f
2767 return NGX_ERROR; 2767 return NGX_ERROR;
2768 } 2768 }
2769 2769
2770 s->key = h->key; 2770 s->key = h->key;
2771 s->value = h->value; 2771 s->value = h->value;
2772 s->skip_empty = 0; 2772 s->skip_empty = 1;
2773 2773
2774 next: 2774 next:
2775 2775
2776 h++; 2776 h++;
2777 } 2777 }