소스 검색

change writeBuffer to uint32

v2ray 9 년 전
부모
커밋
0812d7f9be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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() {