websockets: disable http2 connect (#5527)

websockets: disable http2 connect (#5516)

Co-authored-by: Denis Mishin <dmishin@pomerium.com>
This commit is contained in:
backport-actions-token[bot] 2025-03-14 13:06:34 -04:00 committed by GitHub
parent 03064fae31
commit 98a5779d77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 6 deletions

View file

@ -207,9 +207,6 @@ func (b *Builder) buildMainHTTPConnectionManagerFilter(
mgr.CodecType = envoy_extensions_filters_network_http_connection_manager.HttpConnectionManager_AUTO
} else if cfg.Options.GetCodecType() == config.CodecTypeAuto || cfg.Options.GetCodecType() == config.CodecTypeHTTP2 {
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
mgr.Http2ProtocolOptions = &envoy_config_core_v3.Http2ProtocolOptions{
AllowConnect: true,
}
} else {
mgr.CodecType = cfg.Options.GetCodecType().ToEnvoy()
}

View file

@ -113,9 +113,6 @@
}
}
},
"http2ProtocolOptions": {
"allowConnect": true
},
"localReplyConfig": {
"mappers": [
{