[CalendarServer-changes] [9978] CalendarServer/trunk/calendarserver/provision/root.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 24 12:10:28 PDT 2012


Revision: 9978
          http://trac.calendarserver.org//changeset/9978
Author:   dre at apple.com
Date:     2012-10-24 12:10:28 -0700 (Wed, 24 Oct 2012)
Log Message:
-----------
Redundant

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/provision/root.py

Modified: CalendarServer/trunk/calendarserver/provision/root.py
===================================================================
--- CalendarServer/trunk/calendarserver/provision/root.py	2012-10-24 17:42:56 UTC (rev 9977)
+++ CalendarServer/trunk/calendarserver/provision/root.py	2012-10-24 19:10:28 UTC (rev 9978)
@@ -384,14 +384,6 @@
                             "Your client software (%s) is not allowed to access this service." % (agent,)
                         ))
 
-        # Look for forwarding
-        remote_ip = request.headers.getRawHeaders('x-forwarded-for')
-        if remote_ip and len(remote_ip) == 1:
-            request.forwarded_for = remote_ip[0]
-            if not hasattr(request, "extendedLogItems"):
-                request.extendedLogItems = {}
-            request.extendedLogItems["xff"] = remote_ip[0]
-
         if config.EnableResponseCache and request.method == "PROPFIND" and not getattr(request, "notInCache", False) and len(segments) > 1:
             try:
                 authnUser, authzUser = (yield self.authenticate(request))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121024/c9ca8f71/attachment.html>


More information about the calendarserver-changes mailing list