16 lines
757 B
Diff
16 lines
757 B
Diff
--- 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
|