Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
3197:d5d1ad05d3a6 | 3198:48bfb7dc981b |
---|---|
3033 } | 3033 } |
3034 | 3034 |
3035 n = 0; | 3035 n = 0; |
3036 | 3036 |
3037 for (p += 8; p < last; p++) { | 3037 for (p += 8; p < last; p++) { |
3038 if (*p == ';' || *p == ' ') { | 3038 if (*p == ',' || *p == ';' || *p == ' ') { |
3039 break; | 3039 break; |
3040 } | 3040 } |
3041 | 3041 |
3042 if (*p >= '0' && *p <= '9') { | 3042 if (*p >= '0' && *p <= '9') { |
3043 n = n * 10 + *p - '0'; | 3043 n = n * 10 + *p - '0'; |