Kaynağa Gözat

change writeBuffer to uint32

v2ray 9 yıl önce
ebeveyn
işleme
0812d7f9be
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      transport/internet/kcp/config.go

+ 1 - 1
transport/internet/kcp/config.go

@@ -6,7 +6,7 @@ type Config struct {
 	UplinkCapacity   uint32
 	DownlinkCapacity uint32
 	Congestion       bool
-	WriteBuffer      int
+	WriteBuffer      uint32
 }
 
 func (this *Config) Apply() {