diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-03-16 13:29:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-03-16 13:29:49 +0000 |
commit | 8c8a6e5f2f3ae008de82e221c1d45d1c9321c15b (patch) | |
tree | cad8856db0ce146cdc26eb2416844da558491906 /src | |
parent | a616ef77e2a0bba3949a33a9394a88c6874fa702 (diff) | |
download | nginx-8c8a6e5f2f3ae008de82e221c1d45d1c9321c15b.tar.gz nginx-8c8a6e5f2f3ae008de82e221c1d45d1c9321c15b.zip |
use the more correct mask
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index b83810d2e..2e38434b9 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -775,7 +775,7 @@ ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b) if (c) { hash = ngx_hash(hash, c); r->lowcase_header[i++] = c; - i &= ~NGX_HTTP_LC_HEADER_LEN; + i &= (NGX_HTTP_LC_HEADER_LEN - 1); break; } |