From 4459209a0ea079b70e315fe413b8d2b477382ae3 Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Wed, 6 Jul 2022 13:03:51 +0800 Subject: [PATCH] fix: remove `table` method of ss-rust shadowsocks/shadowsocks-rust#887 --- Basis/Methods.py | 5 ++--- test.py | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Basis/Methods.py b/Basis/Methods.py index 15028b4..893f397 100644 --- a/Basis/Methods.py +++ b/Basis/Methods.py @@ -2,9 +2,8 @@ # -*- coding: utf-8 -*- ssMethods = { # methods support of different Shadowsocks project - 'ss-rust': [ - 'none', 'plain', - 'table', 'rc4', 'rc4-md5', + 'ss-rust': [ # table method removed refer to https://github.com/shadowsocks/shadowsocks-rust/issues/887 + 'none', 'plain', 'rc4', 'rc4-md5', 'aes-128-ccm', 'aes-256-ccm', 'aes-128-gcm', 'aes-256-gcm', 'aes-128-gcm-siv', 'aes-256-gcm-siv', diff --git a/test.py b/test.py index e373dfe..5209b26 100755 --- a/test.py +++ b/test.py @@ -155,6 +155,6 @@ def test_2() -> None: loadTest(ssServer, ssClient, method, timeout) -test_1() -# test_2() +# test_1() +test_2() # loadTest('ss-python-legacy', 'ss-python-legacy', 'salsa20-ctr', 3)