commit | 671236993ac3c7e90e76fca8a8d988419686c555 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Oct 08 14:22:00 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Oct 08 14:22:00 2009 +0000 |
tree | 6e97ad970311e786389c57860eb526f6360a6b93 | |
parent | e2afcc5d2f4fd8d7cf5bc2592d275d0d4a99f2da [diff] |
test comma separator in "Cache-Control"
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index 86c5af8..b95db57 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -3035,7 +3035,7 @@ n = 0; for (p += 8; p < last; p++) { - if (*p == ';' || *p == ' ') { + if (*p == ',' || *p == ';' || *p == ' ') { break; }