Mercurial > hg > nginx
changeset 3986:6c4d2d163611
fix r3981 again for case "Accept-Encoding: gzip"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Aug 2011 14:38:09 +0000 |
parents | 07d1aa82899b |
children | f31aea5b0665 |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Mon Aug 01 13:52:54 2011 +0000 +++ b/src/http/ngx_http_core_module.c Mon Aug 01 14:38:09 2011 +0000 @@ -2209,7 +2209,7 @@ return NGX_DECLINED; } - if (p > start && (*(p - 1) == ',' || *(p - 1) == ' ')) { + if (p == start || (*(p - 1) == ',' || *(p - 1) == ' ')) { break; }