allow set speed limit in runtime

This commit is contained in:
破娃酱 2017-06-04 18:34:12 +08:00
parent f22ef99d85
commit 82f8fef28a
5 changed files with 40 additions and 17 deletions

View file

@ -123,7 +123,7 @@ class TransferBase(object):
continue
if allow:
allow_users[port] = passwd
allow_users[port] = cfg
if 'protocol' in cfg and 'protocol_param' in cfg and common.to_str(cfg['protocol']) in obfs.mu_protocol():
if '#' in common.to_str(cfg['protocol_param']):
mu_servers[port] = passwd