From 2349a038825a71e862969b8959abf78273074c54 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 6 Feb 2015 00:15:13 +0900 Subject: [PATCH] nghttpx: Fix regression HTTP/2 upgrade does not work --- src/shrpx_https_upstream.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shrpx_https_upstream.cc b/src/shrpx_https_upstream.cc index c8703987..83bde251 100644 --- a/src/shrpx_https_upstream.cc +++ b/src/shrpx_https_upstream.cc @@ -166,6 +166,8 @@ int htp_hdrs_completecb(http_parser *htp) { return -1; } + downstream->inspect_http1_request(); + if (get_config()->client_proxy && downstream->get_request_method() != "CONNECT") { // Make sure that request path is an absolute URI.