Explorar o código

change writeBuffer to uint32

v2ray %!s(int64=9) %!d(string=hai) anos
pai
achega
0812d7f9be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {