Commit 29a7c37f authored by Jeremy Hylton's avatar Jeremy Hylton

Remove sockopt to TCP_NODELAY.

It's not a good idea to set this option.
parent 52c58392
......@@ -262,7 +262,6 @@ class ConnectThread(threading.Thread):
domain, err), level=zLOG.ERROR)
continue
s.setblocking(0)
s.setsockopt(socket.IPPROTO_TCP, 1, 1) # TCP_NODELAY
self.sockets[s] = addr
# connect() raises Connected iff it succeeds
# XXX can still block for a while if addr requires DNS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment