Skip to content

Commit

Permalink
Disable setting SO_SNDBUF too.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Apr 28, 2014
1 parent bf29dde commit 6e8969d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion src/manhole.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 6e8969d

Please sign in to comment.