From 6e8969d28befd6ab857073eddd10d73a15cf3124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Mon, 28 Apr 2014 20:49:33 +0300 Subject: [PATCH] Disable setting SO_SNDBUF too. --- README.rst | 4 ++++ setup.py | 2 +- src/manhole.py | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 3e9ad1a..2e2d932 100644 --- a/README.rst +++ b/README.rst @@ -134,6 +134,10 @@ Similar projects Changelog ========= +* 0.6.2: + + * Fix OS X regression. + * 0.6.1: * Support for OS X (contributed by Saulius Menkevičius) diff --git a/setup.py b/setup.py index 3b79fe3..133aa12 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="manhole", - version="0.6.1", + version="0.6.2", url='https://github.com/ionelmc/python-manhole', download_url='', license='BSD', diff --git a/src/manhole.py b/src/manhole.py index c6667ed..425338b 100644 --- a/src/manhole.py +++ b/src/manhole.py @@ -204,7 +204,8 @@ def check_credentials(client): def handle(client): client.settimeout(None) - client.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 0) + # disable this till we have evidence that it's needed + #client.setsockopt(socket.SOL_SOCKET, socket.SO_SNDBUF, 0) # Note: setting SO_RCVBUF on UDS has no effect, see: http://man7.org/linux/man-pages/man7/unix.7.html backup = []