[Zodb-checkins] CVS: StandaloneZODB/ZEO/zrpc - server.py:1.4
Jeremy Hylton
jeremy@zope.com
Thu, 25 Jul 2002 12:47:55 -0400
Update of /cvs-repository/StandaloneZODB/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv2347
Modified Files:
server.py
Log Message:
Remove use of TCP_NODELAY.
I was always uncomfortable with this, but its portability is a simple
justification for removing it.
=== StandaloneZODB/ZEO/zrpc/server.py 1.3 => 1.4 ===
self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
else:
self.create_socket(socket.AF_UNIX, socket.SOCK_STREAM)
- self.setsockopt(socket.IPPROTO_TCP, 1, 1) # TCP_NODELAY
self.set_reuse_addr()
log("listening on %s" % str(self.addr))
self.bind(self.addr)