Revert "Revert "[relay] Update GO version and QUIC version (#4736)" (#5055)" (#5071)

This reverts commit 24df442198.
This commit is contained in:
Zoltan Papp
2026-01-08 18:58:22 +01:00
committed by GitHub
parent fb71b0d04b
commit 9c9d8e17d7
78 changed files with 311 additions and 340 deletions

View File

@@ -73,7 +73,7 @@ var (
// detect whether user specified a port
userPort := cmd.Flag("port").Changed
tlsEnabled := false
var tlsEnabled bool
if signalLetsencryptDomain != "" || (signalCertFile != "" && signalCertKey != "") {
tlsEnabled = true
}
@@ -259,8 +259,8 @@ func grpcHandlerFunc(grpcServer *grpc.Server, meter metric.Meter) http.Handler {
wsProxy := wsproxyserver.New(grpcServer, wsproxyserver.WithOTelMeter(meter))
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
switch {
case r.URL.Path == wsproxy.ProxyPath+wsproxy.SignalComponent:
switch r.URL.Path {
case wsproxy.ProxyPath + wsproxy.SignalComponent:
wsProxy.Handler().ServeHTTP(w, r)
default:
grpcServer.ServeHTTP(w, r)