Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: fixed parsing of literal header fields without i...

Valentin Bartenev
October 19, 2015 09:24AM
details: http://hg.nginx.org/nginx/rev/0e37389c0bd5
branches:
changeset: 6260:0e37389c0bd5
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Oct 19 16:16:47 2015 +0300
description:
HTTP/2: fixed parsing of literal header fields without indexing.

diffstat:

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

diffs (12 lines):

diff -r 2f34ea503ac4 -r 0e37389c0bd5 src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c Wed Oct 07 22:19:42 2015 +0300
+++ b/src/http/v2/ngx_http_v2.c Mon Oct 19 16:16:47 2015 +0300
@@ -1233,7 +1233,7 @@ ngx_http_v2_state_header_block(ngx_http_

} else {
/* literal header field without indexing */
- prefix = ngx_http_v2_prefix(3);
+ prefix = ngx_http_v2_prefix(4);
}

value = ngx_http_v2_parse_int(h2c, &pos, end, prefix);

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

[nginx] HTTP/2: fixed parsing of literal header fields without i...

Valentin Bartenev 479 October 19, 2015 09:24AM



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

Online Users

Guests: 302
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