larger buffer

This commit is contained in:
clowwindy 2014-06-19 10:01:55 +08:00
parent 35bfa56eaf
commit d949d11b28
3 changed files with 6 additions and 2 deletions

View file

@ -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
- Support a simple config format for multiple ports

View file

@ -6,7 +6,7 @@ with open('README.rst') as f:
setup(
name="shadowsocks",
version="2.0.5",
version="2.0.6",
license='MIT',
description="A fast tunnel proxy that help you get through firewalls",
author='clowwindy',

View file

@ -74,7 +74,7 @@ WAIT_STATUS_READING = 1
WAIT_STATUS_WRITING = 2
WAIT_STATUS_READWRITING = WAIT_STATUS_READING | WAIT_STATUS_WRITING
BUF_SIZE = 8 * 1024
BUF_SIZE = 32 * 1024
class TCPRelayHandler(object):