allow set speed limit in runtime
This commit is contained in:
parent
f22ef99d85
commit
82f8fef28a
5 changed files with 40 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue