mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
feat: support websocket
This commit is contained in:
@@ -225,6 +225,9 @@ func ToListener(listenerName string, routeName string, port int32, p corev1.Prot
|
||||
Name: wellknown.Router,
|
||||
}},
|
||||
StreamIdleTimeout: durationpb.New(0),
|
||||
UpgradeConfigs: []*httpconnectionmanager.HttpConnectionManager_UpgradeConfig{{
|
||||
UpgradeType: "websocket",
|
||||
}},
|
||||
}
|
||||
|
||||
tcpConfig := &tcpproxy.TcpProxy{
|
||||
|
||||
Reference in New Issue
Block a user