cryptonas-livecd/config/chroot_local-includes/usr/share/cryptonas-live/_cpwsgiserver.py.diff

17 lines
757 B
Diff
Raw Permalink Normal View History

--- chroot/usr/share/python-support/python-cherrypy/cherrypy/_cpwsgiserver.py.old 2011-01-20 22:07:45.000000000 -0700
+++ chroot/usr/share/python-support/python-cherrypy/cherrypy/_cpwsgiserver.py.new 2011-01-04 23:50:26.000000000 -0700
@@ -409,10 +412,13 @@
# Our socket was closed
return
if msg == "Resource temporarily unavailable":
# Just try again. See http://www.cherrypy.org/ticket/479.
return
+ if msg == "Interrupted system call":
+ # See http://www.cherrypy.org/ticket/861.
+ return
raise
def stop(self):
"""Gracefully shutdown a server that is serving forever."""
self.ready = False