Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70ebd2ef28 | ||
|
|
1f8819f790 | ||
|
|
0e6a4cd8ff | ||
|
|
f4052fbc84 | ||
|
|
5e5d25efd9 |
+2
-1
@@ -24,6 +24,7 @@ function run_test {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python --version
|
||||||
coverage erase
|
coverage erase
|
||||||
mkdir tmp
|
mkdir tmp
|
||||||
run_test pep8 .
|
run_test pep8 .
|
||||||
@@ -45,7 +46,7 @@ run_test python tests/test.py --with-coverage -c tests/workers.json
|
|||||||
run_test python tests/test.py --with-coverage -s tests/ipv6.json -c tests/ipv6-client-side.json
|
run_test python tests/test.py --with-coverage -s tests/ipv6.json -c tests/ipv6-client-side.json
|
||||||
run_test python tests/test.py --with-coverage -b "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -q" -a "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -vv"
|
run_test python tests/test.py --with-coverage -b "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -q" -a "-m rc4-md5 -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -vv"
|
||||||
run_test python tests/test.py --with-coverage -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --workers 1" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -qq -b 127.0.0.1"
|
run_test python tests/test.py --with-coverage -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --workers 1" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -qq -b 127.0.0.1"
|
||||||
run_test python tests/test.py --with-coverage --should-fail --url="http://127.0.0.1/" -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --forbidden-ip=127.0.0.1,::1,8.8.8.8" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -b 127.0.0.1"
|
run_test python tests/test.py --with-coverage --should-fail --url="http://localhost/" -b "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 --forbidden-ip=127.0.0.1,::1,8.8.8.8" -a "-m aes-256-cfb -k testrc4 -s 127.0.0.1 -p 8388 -l 1081 -t 30 -b 127.0.0.1"
|
||||||
|
|
||||||
if [ -f /proc/sys/net/ipv4/tcp_fastopen ] ; then
|
if [ -f /proc/sys/net/ipv4/tcp_fastopen ] ; then
|
||||||
if [ 3 -eq `cat /proc/sys/net/ipv4/tcp_fastopen` ] ; then
|
if [ 3 -eq `cat /proc/sys/net/ipv4/tcp_fastopen` ] ; then
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
2.6.6 2015-01-23
|
||||||
|
- Fix a crash in forbidden list
|
||||||
|
|
||||||
2.6.5 2015-01-18
|
2.6.5 2015-01-18
|
||||||
- Try both 32 bit and 64 bit dll on Windows
|
- Try both 32 bit and 64 bit dll on Windows
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ a pull request, or ask some of your friends to do so.
|
|||||||
3. We don't answer questions of any other types here. Since very few people
|
3. We don't answer questions of any other types here. Since very few people
|
||||||
are watching the issue tracker here, you'll probably get no help from here.
|
are watching the issue tracker here, you'll probably get no help from here.
|
||||||
Read [Troubleshooting] and get help from forums or [mailing lists].
|
Read [Troubleshooting] and get help from forums or [mailing lists].
|
||||||
|
4. Issues in languages other than English will be Google translated into English
|
||||||
|
later.
|
||||||
|
|
||||||
|
|
||||||
[Troubleshooting]: https://github.com/clowwindy/shadowsocks/wiki/Troubleshooting
|
[Troubleshooting]: https://github.com/clowwindy/shadowsocks/wiki/Troubleshooting
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
recursive-include *.py
|
recursive-include shadowsocks *.py
|
||||||
include README.rst
|
include README.rst
|
||||||
include LICENSE
|
include LICENSE
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ with codecs.open('README.rst', encoding='utf-8') as f:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="shadowsocks",
|
name="shadowsocks",
|
||||||
version="2.6.5",
|
version="2.6.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',
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ class TCPRelayHandler(object):
|
|||||||
self._update_stream(STREAM_UP, WAIT_STATUS_READWRITING)
|
self._update_stream(STREAM_UP, WAIT_STATUS_READWRITING)
|
||||||
self._update_stream(STREAM_DOWN, WAIT_STATUS_READING)
|
self._update_stream(STREAM_DOWN, WAIT_STATUS_READING)
|
||||||
return
|
return
|
||||||
except (OSError, IOError) as e:
|
except Exception as e:
|
||||||
logging.error(e)
|
logging.error(e)
|
||||||
if self._config['verbose']:
|
if self._config['verbose']:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user