diff --git a/proxy/proxy.go b/proxy/proxy.go index d57b47bce..6008437eb 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -13,7 +13,6 @@ import ( "math/big" "runtime" "strconv" - "sync" "time" "github.com/pires/go-proxyproto" @@ -302,7 +301,6 @@ type VisionWriter struct { // internal writeOnceUserUUID []byte directWriteCounter stats.Counter - access sync.Mutex testseed []uint32 } @@ -326,9 +324,6 @@ func NewVisionWriter(writer buf.Writer, trafficState *TrafficState, isUplink boo } func (w *VisionWriter) WriteMultiBuffer(mb buf.MultiBuffer) error { - w.access.Lock() - defer w.access.Unlock() - var isPadding *bool var switchToDirectCopy *bool var spliceReadyInbound *session.Inbound