Update proxy.go

This commit is contained in:
RPRX
2026-11-08 03:01:30 +00:00
committed by GitHub
parent 761d8032db
commit 00bb0dc737
-5
View File
@@ -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