#971: no_delay on Jython breaks wsgiserver 3.1
---------------------------+----------------------------------------------- -
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: high | Milestone:
Component: CherryPy code | Keywords:
---------------------------+----------------------------------------------- -
wsgiserver 3.1 does not work with Jython because Jython does not support
setsocketoption TCP_NODELAY for a server socket. It only allows clients to
set TCP_NODELAY after connection. Some discussion here.
http://bugs.jython.org/issue1309
Suggested fix: In wsgiserver/__init__.py replace
nodelay = True
with
import platform
nodelay = not(platform.system()=='Java')
Massimo
--
Ticket URL: <http://www.cherrypy.org/ticket/971>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework