[CalendarServer-changes] [6640] CalendarServer/branches/users/wsanchez/deployment/twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 16 10:57:22 PST 2010


Revision: 6640
          http://trac.macosforge.org/projects/calendarserver/changeset/6640
Author:   cdaboo at apple.com
Date:     2010-11-16 10:57:18 -0800 (Tue, 16 Nov 2010)
Log Message:
-----------
Add configurable HTTP header line length limit and default to twice the current Twisted value.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/config.py
    CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/httpfactory.py

Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/config.py	2010-11-16 18:56:50 UTC (rev 6639)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/config.py	2010-11-16 18:57:18 UTC (rev 6640)
@@ -361,6 +361,8 @@
 
     "MaxAllowedInstances":    3000,
     "LimitFreeBusyAttendees": 30,
+    
+    "MaxHTTPHeaderLength"   : 20480,
 
     #
     # Localization

Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/httpfactory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/httpfactory.py	2010-11-16 18:56:50 UTC (rev 6639)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/httpfactory.py	2010-11-16 18:57:18 UTC (rev 6640)
@@ -59,6 +59,8 @@
 
     _inspection = None
 
+    maxHeaderLength = config.MaxHTTPHeaderLength
+
     def connectionMade(self):
         if self._inspection:
             self._inspection.add("conn_made")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101116/6106fdb9/attachment-0001.html>


More information about the calendarserver-changes mailing list