Parcourir la source

change writeBuffer to uint32

v2ray il y a 9 ans
Parent
commit
0812d7f9be
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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() {