Explorar el Código

change writeBuffer to uint32

v2ray hace 9 años
padre
commit
0812d7f9be
Se han modificado 1 ficheros con 1 adiciones y 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() {