Selaa lähdekoodia

change writeBuffer to uint32

v2ray 9 vuotta sitten
vanhempi
commit
0812d7f9be
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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() {