nghttpx: Fix regression HTTP/2 upgrade does not work
This commit is contained in:
parent
3904550d5d
commit
2349a03882
|
@ -166,6 +166,8 @@ int htp_hdrs_completecb(http_parser *htp) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
downstream->inspect_http1_request();
|
||||||
|
|
||||||
if (get_config()->client_proxy &&
|
if (get_config()->client_proxy &&
|
||||||
downstream->get_request_method() != "CONNECT") {
|
downstream->get_request_method() != "CONNECT") {
|
||||||
// Make sure that request path is an absolute URI.
|
// Make sure that request path is an absolute URI.
|
||||||
|
|
Loading…
Reference in New Issue