mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Enable TCP Fast Open on Shadowsocks Rust by default
This commit is contained in:
parent
43107110a5
commit
11681a878f
2 changed files with 4 additions and 2 deletions
|
@ -120,8 +120,10 @@ if [ -z "$(uci -q get shadowsocks-rust.hi1.keep_alive)" ]; then
|
|||
uci -q batch <<-EOF > /dev/null
|
||||
set shadowsocks-rust.hi1.keep_alive=15
|
||||
set shadowsocks-rust.hi1.no_delay=1
|
||||
set shadowsocks-rust.hi1.fast_open=1
|
||||
set shadowsocks-rust.hi2.keep_alive=15
|
||||
set shadowsocks-rust.hi2.no_delay=1
|
||||
set shadowsocks-rust.hi2.fast_open=1
|
||||
commit shadowsocks-rust
|
||||
EOF
|
||||
fi
|
||||
|
|
|
@ -5,7 +5,7 @@ config ss_redir hi1
|
|||
option mode 'tcp_and_udp'
|
||||
option timeout '1000'
|
||||
option keep_alive '15'
|
||||
option fast_open 0
|
||||
option fast_open 1
|
||||
option verbose 0
|
||||
option syslog 1
|
||||
option reuse_port 0
|
||||
|
@ -20,7 +20,7 @@ config ss_redir hi2
|
|||
option mode 'tcp_and_udp'
|
||||
option timeout '1000'
|
||||
option keep_alive '15'
|
||||
option fast_open 0
|
||||
option fast_open 1
|
||||
option verbose 0
|
||||
option syslog 1
|
||||
option reuse_port 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue