Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: fixed header block size calculation.

Valentin Bartenev
October 26, 2015 10:48AM
details: http://hg.nginx.org/nginx/rev/b2de4a56b860
branches:
changeset: 6274:b2de4a56b860
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Oct 26 17:43:08 2015 +0300
description:
HTTP/2: fixed header block size calculation.

diffstat:

src/http/v2/ngx_http_v2_filter_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 60f916da7294 -r b2de4a56b860 src/http/v2/ngx_http_v2_filter_module.c
--- a/src/http/v2/ngx_http_v2_filter_module.c Thu Oct 01 20:25:55 2015 -0700
+++ b/src/http/v2/ngx_http_v2_filter_module.c Mon Oct 26 17:43:08 2015 +0300
@@ -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)

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] HTTP/2: fixed header block size calculation.

Valentin Bartenev 406 October 26, 2015 10:48AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 171
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready