List Info

Thread: using setreuid, setregid in cherrypy method




using setreuid, setregid in cherrypy method
user name
2006-02-23 15:05:35
Stragely applying following patch fixes it.

---
/usr/lib/python2.4/site-packages/cherrypy/_cpwsgiserver.py
+++
/usr/lib/python2.4/site-packages/cherrypy/_cpwsgiserver.py.n
ew
 -339,6
+339,8 
             # notice keyboard interrupts on Win32, which
don't
interrupt
             # accept() by default
             return
+        except socket.error:
+            return

     def stop(self):
         """Gracefully shutdown a server
that is serving forever."""


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )