Fix compile error

This commit is contained in:
Tatsuhiro Tsujikawa 2022-02-12 11:45:24 +09:00
parent 79524471b4
commit a6537cb9ce
1 changed files with 1 additions and 1 deletions

View File

@ -2326,7 +2326,7 @@ int Http3Upstream::http_end_request_headers(Downstream *downstream, int fin) {
downstream->set_request_state(DownstreamState::HEADER_COMPLETE);
if (config->http.require_http_scheme &&
!http::check_http_scheme(req.scheme, /* encrypted = */true) {
!http::check_http_scheme(req.scheme, /* encrypted = */ true)) {
if (error_reply(downstream, 400) != 0) {
return -1;
}