From 7809baece82e8c71fef5fc9911442367d59d4fac Mon Sep 17 00:00:00 2001 From: Dmitri Dolguikh Date: Thu, 10 Sep 2026 09:44:01 +0200 Subject: [PATCH] removed unused consts Signed-off-by: Dmitri Dolguikh --- util/wsproxy/server/proxy.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util/wsproxy/server/proxy.go b/util/wsproxy/server/proxy.go index 9d4d9807c..72195beb5 100644 --- a/util/wsproxy/server/proxy.go +++ b/util/wsproxy/server/proxy.go @@ -3,7 +3,6 @@ package server import ( "net/http" "sync/atomic" - "time" "github.com/coder/websocket" log "github.com/sirupsen/logrus" @@ -12,11 +11,6 @@ import ( "github.com/netbirdio/netbird/util/wsproxy" ) -const ( - bufferSize = 32 * 1024 - ioTimeout = 5 * time.Second -) - // Config contains the configuration for the WebSocket proxy. type Config struct { Handler http.Handler