Skip to content

Commit 45da937

Browse files
committed
Allow connect on Http2ProtocolOptions when Websockets are enabled
Signed-off-by: Rajat Vig <[email protected]>
1 parent 6f6c0f4 commit 45da937

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Set `allow_connect` to true on `Http2ProtocolOptions` on the Listener when websockets are enabled.

internal/envoy/v3/listener.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ func (b *httpConnectionManagerBuilder) Get() *envoy_config_listener_v3.Filter {
568568
UpgradeType: "websocket",
569569
},
570570
)
571+
cm.Http2ProtocolOptions.AllowConnect = true
571572
}
572573

573574
return &envoy_config_listener_v3.Filter{

0 commit comments

Comments
 (0)