mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-11-08 03:02:38 +00:00
Update proxy.go
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user