1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 10:08:15 -05:00

remove acknodealy setting entry

This commit is contained in:
V2Ray Dev 2016-06-20 11:06:27 +02:00
parent 1cd5372a5a
commit b131f64f7b
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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,
}
}