mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-02-20 23:47:21 -05:00
remove acknodealy setting entry
This commit is contained in:
parent
1cd5372a5a
commit
b131f64f7b
@ -1,10 +1,9 @@
|
|||||||
package kcp
|
package kcp
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
Mtu int // Maximum transmission unit
|
Mtu int // Maximum transmission unit
|
||||||
Sndwnd int // Sending window size
|
Sndwnd int // Sending window size
|
||||||
Rcvwnd int // Receiving window size
|
Rcvwnd int // Receiving window size
|
||||||
Acknodelay bool // Acknoledge without delay
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *Config) Apply() {
|
func (this *Config) Apply() {
|
||||||
@ -13,10 +12,9 @@ func (this *Config) Apply() {
|
|||||||
|
|
||||||
func DefaultConfig() Config {
|
func DefaultConfig() Config {
|
||||||
return Config{
|
return Config{
|
||||||
Mtu: 1350,
|
Mtu: 1350,
|
||||||
Sndwnd: 1024,
|
Sndwnd: 1024,
|
||||||
Rcvwnd: 1024,
|
Rcvwnd: 1024,
|
||||||
Acknodelay: true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user