Fixed not defined global SERVER, REMOTE_PORT, KEY, METHOD, and the default options
This commit is contained in:
parent
3088657309
commit
5dcaba7a16
2 changed files with 4 additions and 2 deletions
|
@ -181,11 +181,13 @@ class ShadowSocksServer(object):
|
|||
"local_port":1080,
|
||||
"password":"barfoo!",
|
||||
"timeout":600,
|
||||
"method":"table"
|
||||
"method":"table",
|
||||
"IPv6": False
|
||||
}
|
||||
|
||||
def serve_forever(self):
|
||||
global SERVER, REMOTE_PORT, KEY, METHOD
|
||||
|
||||
self.set_logging()
|
||||
self.run_info()
|
||||
self.set_options()
|
||||
|
|
|
@ -142,7 +142,7 @@ class ShadowSocksServer(object):
|
|||
"local_port":1080,
|
||||
"password":"barfoo!",
|
||||
"timeout":600,
|
||||
"method":"table"
|
||||
"method":"table",
|
||||
"IPv6": False
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue