Welcome! Log In Create A New Profile

Advanced

[nginx] HTTP/2: fixed $server_protocol value (ticket #800).

Valentin Bartenev
September 28, 2015 01:06PM
details: http://hg.nginx.org/nginx/rev/9dfc4ba140f9
branches:
changeset: 6256:9dfc4ba140f9
user: Valentin Bartenev <vbart@nginx.com>
date: Mon Sep 28 20:02:05 2015 +0300
description:
HTTP/2: fixed $server_protocol value (ticket #800).

diffstat:

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

diffs (12 lines):

diff -r b40af2fd1c16 -r 9dfc4ba140f9 src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c Thu Sep 24 17:19:08 2015 +0300
+++ b/src/http/v2/ngx_http_v2.c Mon Sep 28 20:02:05 2015 +0300
@@ -2762,6 +2762,8 @@ ngx_http_v2_create_stream(ngx_http_v2_co
return NULL;
}

+ ngx_str_set(&r->http_protocol, "HTTP/2.0");
+
r->http_version = NGX_HTTP_VERSION_20;
r->valid_location = 1;


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

[nginx] HTTP/2: fixed $server_protocol value (ticket #800).

Valentin Bartenev 830 September 28, 2015 01:06PM



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

Online Users

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