Mercurial > hg > nginx
diff src/http/v2/ngx_http_v2_filter_module.c @ 6274:b2de4a56b860
HTTP/2: fixed header block size calculation.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 26 Oct 2015 17:43:08 +0300 |
parents | cbb8c32f78b5 |
children | 39fa0b7e3a67 |
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2_filter_module.c +++ b/src/http/v2/ngx_http_v2_filter_module.c @@ -222,7 +222,7 @@ ngx_http_v2_header_filter(ngx_http_reque } if (r->headers_out.content_type.len) { - len += NGX_HTTP_V2_INT_OCTETS + r->headers_out.content_type.len; + len += 1 + NGX_HTTP_V2_INT_OCTETS + r->headers_out.content_type.len; if (r->headers_out.content_type_len == r->headers_out.content_type.len && r->headers_out.charset.len)