diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2018-02-01 14:48:49 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2018-02-02 17:24:45 +0800 |
commit | 4d211674cef311ba55872d8099ec368f1430d238 (patch) | |
tree | 621b760640b36311c1303bf02697b6859d1fe8b8 /net/shadowsocks-libev/files | |
parent | 25757a96fa804241ea04aaae9006efc9aa24648e (diff) |
shadowsocks-libev: bump to version 3.1.3
Notable changes since 3.1.2
afce1b3 eliminate timered delay between handshake and data stream #1572
539bf6e sni in redir removed and no disable_sni option #1876
1d94442..29ff5d3 udprelay fix (no idea what's the problem...) #1883
Now disable_sni=true is the default. Existing uci configs setting it
will be a nop
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'net/shadowsocks-libev/files')
-rw-r--r-- | net/shadowsocks-libev/files/shadowsocks-libev.init | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net/shadowsocks-libev/files/shadowsocks-libev.init b/net/shadowsocks-libev/files/shadowsocks-libev.init index 7564f348e..555cc1855 100644 --- a/net/shadowsocks-libev/files/shadowsocks-libev.init +++ b/net/shadowsocks-libev/files/shadowsocks-libev.init @@ -78,11 +78,7 @@ ss_mkjson_ss_local_conf() { } ss_mkjson_ss_redir_conf() { - ss_mkjson_server_conf || return 1 - [ "$disable_sni" = 0 ] && disable_sni=false || disable_sni=true - cat <<-EOF - "disable_sni": $disable_sni, - EOF + ss_mkjson_server_conf } ss_mkjson_ss_server_conf() { @@ -276,9 +272,7 @@ validate_ss_local_section() { } validate_ss_redir_section() { - validate_common_client_options_ ss_redir "$1" \ - "${2}" \ - 'disable_sni:bool:0' + validate_common_client_options_ ss_redir "$1" "${2}" } validate_ss_rules_section() { |