[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - client.py:1.4

Jeremy Hylton jeremy@zope.com
Fri, 26 Jul 2002 16:49:39 -0400


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv2359/zrpc

Modified Files:
	client.py 
Log Message:
Remove sockopt to TCP_NODELAY.

It's not a good idea to set this option.


=== ZODB3/ZEO/zrpc/client.py 1.3 => 1.4 ===
                         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