diff src/http/ngx_http_upstream.c @ 3198:48bfb7dc981b

test comma separator in "Cache-Control"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Oct 2009 14:22:00 +0000
parents b495a56f1f24
children fcd98af88df3
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;
         }