larger buffer
This commit is contained in:
parent
35bfa56eaf
commit
d949d11b28
3 changed files with 6 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,3 +1,7 @@
|
||||||
|
2.0.6 2014-06-19
|
||||||
|
- Fix CPU 100% on POLL_HUP
|
||||||
|
- More friendly logging
|
||||||
|
|
||||||
2.0.5 2014-06-18
|
2.0.5 2014-06-18
|
||||||
- Support a simple config format for multiple ports
|
- Support a simple config format for multiple ports
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -6,7 +6,7 @@ with open('README.rst') as f:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="shadowsocks",
|
name="shadowsocks",
|
||||||
version="2.0.5",
|
version="2.0.6",
|
||||||
license='MIT',
|
license='MIT',
|
||||||
description="A fast tunnel proxy that help you get through firewalls",
|
description="A fast tunnel proxy that help you get through firewalls",
|
||||||
author='clowwindy',
|
author='clowwindy',
|
||||||
|
|
|
@ -74,7 +74,7 @@ WAIT_STATUS_READING = 1
|
||||||
WAIT_STATUS_WRITING = 2
|
WAIT_STATUS_WRITING = 2
|
||||||
WAIT_STATUS_READWRITING = WAIT_STATUS_READING | WAIT_STATUS_WRITING
|
WAIT_STATUS_READWRITING = WAIT_STATUS_READING | WAIT_STATUS_WRITING
|
||||||
|
|
||||||
BUF_SIZE = 8 * 1024
|
BUF_SIZE = 32 * 1024
|
||||||
|
|
||||||
|
|
||||||
class TCPRelayHandler(object):
|
class TCPRelayHandler(object):
|
||||||
|
|
Loading…
Reference in a new issue