diff --git a/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks b/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks index 1c339219b..437ede096 100755 --- a/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks +++ b/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks @@ -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 diff --git a/shadowsocks-rust/files/shadowsocks-rust.config b/shadowsocks-rust/files/shadowsocks-rust.config index c12db84c6..498783762 100644 --- a/shadowsocks-rust/files/shadowsocks-rust.config +++ b/shadowsocks-rust/files/shadowsocks-rust.config @@ -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