mirror of
https://github.com/nginx/nginx.git
synced 2026-08-28 04:39:05 +00:00
use the more correct mask
This commit is contained in:
parent
a616ef77e2
commit
8c8a6e5f2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue