mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 03:16:31 +02:00
websockets: disable http2 connect (#5516)
This commit is contained in:
parent
e1eca4e97c
commit
c4a5502f49
2 changed files with 0 additions and 6 deletions
|
@ -207,9 +207,6 @@ func (b *Builder) buildMainHTTPConnectionManagerFilter(
|
||||||
mgr.CodecType = envoy_extensions_filters_network_http_connection_manager.HttpConnectionManager_AUTO
|
mgr.CodecType = envoy_extensions_filters_network_http_connection_manager.HttpConnectionManager_AUTO
|
||||||
} else if cfg.Options.GetCodecType() == config.CodecTypeAuto || cfg.Options.GetCodecType() == config.CodecTypeHTTP2 {
|
} else if cfg.Options.GetCodecType() == config.CodecTypeAuto || cfg.Options.GetCodecType() == config.CodecTypeHTTP2 {
|
||||||
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
|
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
|
||||||
mgr.Http2ProtocolOptions = &envoy_config_core_v3.Http2ProtocolOptions{
|
|
||||||
AllowConnect: true,
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
|
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,9 +113,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"http2ProtocolOptions": {
|
|
||||||
"allowConnect": true
|
|
||||||
},
|
|
||||||
"localReplyConfig": {
|
"localReplyConfig": {
|
||||||
"mappers": [
|
"mappers": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue