[Zope-Checkins]
SVN: Zope/branches/ajung-fast-listen-branch/lib/python/Zope2/Startup/__init__.py
fixes
Andreas Jung
andreas at andreas-jung.com
Tue Aug 29 11:23:10 EDT 2006
Log message for revision 69847:
fixes
Changed:
U Zope/branches/ajung-fast-listen-branch/lib/python/Zope2/Startup/__init__.py
-=-
Modified: Zope/branches/ajung-fast-listen-branch/lib/python/Zope2/Startup/__init__.py
===================================================================
--- Zope/branches/ajung-fast-listen-branch/lib/python/Zope2/Startup/__init__.py 2006-08-29 15:18:11 UTC (rev 69846)
+++ Zope/branches/ajung-fast-listen-branch/lib/python/Zope2/Startup/__init__.py 2006-08-29 15:23:10 UTC (rev 69847)
@@ -214,21 +214,16 @@
def serverListen(self):
-
- servers = []
for server in self.cfg.servers:
+
if hasattr(server, 'fast_listen'):
# This one has the delayed listening feature
if not server.fast_listen:
server.fast_listen = True
- # ATT: should that be a config option? (aj)
- server.listen( 1024 )
- else:
- return
+ server.listen(1024) # same value as defined in medusa.http_server.py
-
def setupServers(self):
socket_err = (
'There was a problem starting a server of type "%s". '
More information about the Zope-Checkins
mailing list