test comma separator in "Cache-Control"

This commit is contained in:
Igor Sysoev 2009-10-08 14:22:00 +00:00
parent e2afcc5d2f
commit 671236993a

View File

@ -3035,7 +3035,7 @@ ngx_http_upstream_process_cache_control(ngx_http_request_t *r,
n = 0; n = 0;
for (p += 8; p < last; p++) { for (p += 8; p < last; p++) {
if (*p == ';' || *p == ' ') { if (*p == ',' || *p == ';' || *p == ' ') {
break; break;
} }