nghttpx: Fix crash with HTTP/2 downstream
This commit is contained in:
parent
22c88af1ab
commit
2a49e164c8
|
@ -382,7 +382,7 @@ int Http2DownstreamConnection::push_request_headers()
|
||||||
nva.push_back(http2::make_nv_ll("x-forwarded-proto", "http"));
|
nva.push_back(http2::make_nv_ll("x-forwarded-proto", "http"));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
nva.push_back(http2::make_nv_ls("x-forwarded-proto", scheme.c_str()));
|
nva.push_back(http2::make_nv_ls("x-forwarded-proto", scheme));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue