[Zope-Checkins] CVS: Zope3 - z3.py:1.1.2.10
Shane Hathaway
shane@digicool.com
Mon, 26 Nov 2001 18:11:39 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv15972
Modified Files:
Tag: Zope-3x-branch
z3.py
Log Message:
- Added logging to HTTPServer2.
- Created and used an "Adjustments" module.
- Kill zombie HTTP connections.
=== Zope3/z3.py 1.1.2.9 => 1.1.2.10 ===
from Zope.App.OFS.RootFolder import RootFolder
import asyncore, zLOG
+from Zope.Server import ZLogIntegration
from Zope.Server.PublisherServers import PublisherHTTPServer
from Zope.Server.TaskThreads import ThreadedTaskDispatcher
@@ -52,5 +53,8 @@
PublisherHTTPServer(request_payload, response_payload,
'', 8080, tasks=tasks)
-asyncore.loop()
+try:
+ asyncore.loop()
+except KeyboardInterrupt:
+ pass
sys.exit(0)