changeset 3198:48bfb7dc981b

test comma separator in "Cache-Control"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Oct 2009 14:22:00 +0000
parents d5d1ad05d3a6
children b242aaf1dcfa
files src/http/ngx_http_upstream.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -3035,7 +3035,7 @@ ngx_http_upstream_process_cache_control(
     n = 0;
 
     for (p += 8; p < last; p++) {
-        if (*p == ';' || *p == ' ') {
+        if (*p == ',' || *p == ';' || *p == ' ') {
             break;
         }