change default timeout
This commit is contained in:
parent
fe442d2c11
commit
f04c45a43d
4 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@ shadowsocks
|
||||||
===========
|
===========
|
||||||
|
|
||||||
[](https://travis-ci.org/clowwindy/shadowsocks)
|
[](https://travis-ci.org/clowwindy/shadowsocks)
|
||||||
Current version: 0.9.1
|
Current version: 0.9.2
|
||||||
|
|
||||||
shadowsocks is a lightweight tunnel proxy which can help you get through firewalls
|
shadowsocks is a lightweight tunnel proxy which can help you get through firewalls
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
"server_port":8388,
|
"server_port":8388,
|
||||||
"local_port":1080,
|
"local_port":1080,
|
||||||
"password":"barfoo!",
|
"password":"barfoo!",
|
||||||
"timeout":60
|
"timeout":600
|
||||||
}
|
}
|
2
local.py
2
local.py
|
@ -148,7 +148,7 @@ class Socks5Server(SocketServer.StreamRequestHandler):
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
os.chdir(os.path.dirname(__file__) or '.')
|
os.chdir(os.path.dirname(__file__) or '.')
|
||||||
print 'shadowsocks v0.9.1'
|
print 'shadowsocks v0.9.2'
|
||||||
|
|
||||||
with open('config.json', 'rb') as f:
|
with open('config.json', 'rb') as f:
|
||||||
config = json.load(f)
|
config = json.load(f)
|
||||||
|
|
|
@ -125,7 +125,7 @@ class Socks5Server(SocketServer.StreamRequestHandler):
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
os.chdir(os.path.dirname(__file__) or '.')
|
os.chdir(os.path.dirname(__file__) or '.')
|
||||||
|
|
||||||
print 'shadowsocks v0.9.1'
|
print 'shadowsocks v0.9.2'
|
||||||
|
|
||||||
with open('config.json', 'rb') as f:
|
with open('config.json', 'rb') as f:
|
||||||
config = json.load(f)
|
config = json.load(f)
|
||||||
|
|
Loading…
Add table
Reference in a new issue