Browse Source

remove acknodealy setting entry

V2Ray Dev 9 năm trước cách đây
mục cha
commit
b131f64f7b
1 tập tin đã thay đổi với 6 bổ sung8 xóa
  1. 6 8
      transport/internet/kcp/config.go

+ 6 - 8
transport/internet/kcp/config.go

@@ -1,10 +1,9 @@
 package kcp
 
 type Config struct {
-	Mtu        int  // Maximum transmission unit
-	Sndwnd     int  // Sending window size
-	Rcvwnd     int  // Receiving window size
-	Acknodelay bool // Acknoledge without delay
+	Mtu    int // Maximum transmission unit
+	Sndwnd int // Sending window size
+	Rcvwnd int // Receiving window size
 }
 
 func (this *Config) Apply() {
@@ -13,10 +12,9 @@ func (this *Config) Apply() {
 
 func DefaultConfig() Config {
 	return Config{
-		Mtu:        1350,
-		Sndwnd:     1024,
-		Rcvwnd:     1024,
-		Acknodelay: true,
+		Mtu:    1350,
+		Sndwnd: 1024,
+		Rcvwnd: 1024,
 	}
 }