v0.32.2
This commit is contained in:
1 parent
bb025dcf44
commit
b0f211555a
74 files changed
+6089
-556
No files matched your search
@@ -235,7 +235,8 @@ let downstream = if handshake.as_ref().is_some_and(|handshake| handshake.h1()) {
|
||||
None
|
||||
};
|
||||
let h2_downstream = if handshake.as_ref().is_some_and(|handshake| handshake.h2())
|
||||
&& (backend.protocol != crate::config::UpstreamProtocol::Http2
|
||||
&& (!matches!(backend.protocol,
|
||||
crate::config::UpstreamProtocol::Http2 | crate::config::UpstreamProtocol::H2)
|
||||
|| websocket_legacy_support)
|
||||
{
|
||||
Some(std::mem::replace(request.body_mut(), Body::empty()))
|
||||
|
||||
Reference in new issue
Block a user