[Zope-Checkins] CVS: Zope/skel/etc - zope.conf.in:

Sidnei da Silva sidnei at awkly.org
Wed Dec 1 18:01:49 EST 2004

Update of /cvs-repository/Zope/skel/etc
In directory cvs.zope.org:/tmp/cvs-serv30901/skel/etc

Modified Files:
      Tag: Zope-2_7-branch
Log Message:

      - webdav.NullResource: doing a PUT of a large file could
        potentially bring your box to a halt, because the whole file
        would be read into memory just to detect the
        content-type. Added a 'large-file-threshold' directive to
        control the boundary where a file gets read completely into
        memory. The same directive controls the creation of a tmpfile
        vs. reading the whole request into memory on ZServer as well.

      - The 'connection-limit' directive was not taking effect as it
        modified a module-level global that was already bound to the
        functions that used it by the time the directive took
        effect. Modified the functions so that they import the
        variable in the function body instead of at the top of the

=== Zope/skel/etc/zope.conf.in => ===
--- Zope/skel/etc/zope.conf.in:	Sat Nov 27 03:24:29 2004
+++ Zope/skel/etc/zope.conf.in	Wed Dec  1 18:01:49 2004
@@ -808,6 +808,17 @@
 #     port-base 1000
+# Directive: large-file-threshold
+# Description:
+#     Requests bigger than this size get saved into a temporary file
+#     instead of being read completely into memory.
+# Default: 512K
+# Example:
+#    large-file-threshold 1Mb
 # Directives: servers

More information about the Zope-Checkins mailing list