[Zope-dev] fast_listen -> fast-listen for 2.11

Stefan H. Holek stefan at epy.co.at
Thu Jun 5 19:37:16 EDT 2008


I'd like to sneak the following patch into 2.11 before final. The  
idea is that zope.conf option names should use dashes and not  
underscores. The downside is that it will break all zope.conf files  
that already use this option.

Objections?

Stefan


+    Bugs Fixed
+
+      - Fixed against-the-rules zope.conf option 'fast_listen' to read
+        'fast-listen' (dash, not underscore).
+
    Zope 2.11 rc 1 (2008/05/08)

      Bugs Fixed
Index: skel/etc/zope.conf.in
===================================================================
--- skel/etc/zope.conf.in       (revision 84838)
+++ skel/etc/zope.conf.in       (working copy)
@@ -975,8 +975,7 @@
    #
    # To defer the opening of the HTTP socket until the end of the
    # startup phase:
-  # fast_listen false
-  #
+  # fast-listen off
  </http-server>

  # Examples:
Index: lib/python/ZServer/component.xml
===================================================================
--- lib/python/ZServer/component.xml    (revision 84838)
+++ lib/python/ZServer/component.xml    (working copy)
@@ -19,10 +19,10 @@
           receive WebDAV source responses to GET requests.
         </description>
       </key>
-     <key name="fast_listen" datatype="boolean" default="on">
+     <key name="fast-listen" datatype="boolean" default="on">
         <description>
-         Defines wether the http server should listen to requests  
immediately
-         or only after zope is ready to run
+         Defines whether the HTTP server should listen for requests
+         immediately or only after Zope is ready to run.
         </description>
       </key>
       <key name="use-wsgi" datatype="boolean" default="off" />


--
Anything that, in happening, causes something else to happen,
causes something else to happen.  --Douglas Adams




More information about the Zope-Dev mailing list