[CalendarServer-changes] [5429] CalendarServer/branches/users/glyph/deployment-plus-sendfd/ lib-patches/Twisted/twisted.web2.channel.http.patch

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 31 10:55:47 PDT 2010


Revision: 5429
          http://trac.macosforge.org/projects/calendarserver/changeset/5429
Author:   glyph at apple.com
Date:     2010-03-31 10:55:47 -0700 (Wed, 31 Mar 2010)
Log Message:
-----------
somehow connectionMade got in there in the first merge but connectionLost didn't

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/deployment-plus-sendfd/lib-patches/Twisted/twisted.web2.channel.http.patch

Modified: CalendarServer/branches/users/glyph/deployment-plus-sendfd/lib-patches/Twisted/twisted.web2.channel.http.patch
===================================================================
--- CalendarServer/branches/users/glyph/deployment-plus-sendfd/lib-patches/Twisted/twisted.web2.channel.http.patch	2010-03-31 17:55:24 UTC (rev 5428)
+++ CalendarServer/branches/users/glyph/deployment-plus-sendfd/lib-patches/Twisted/twisted.web2.channel.http.patch	2010-03-31 17:55:47 UTC (rev 5429)
@@ -11,6 +11,15 @@
      
      def lineReceived(self, line):
          if self._first_line:
+@@ -847,7 +847,7 @@
+             self.transport.loseConnection()
+         
+     def connectionLost(self, reason):
+-        self.factory.outstandingRequests-=1
++        self.factory.removeConnectedChannel(self)
+ 
+         self._writeLost = True
+         self.readConnectionLost()
 @@ -869,20 +869,33 @@
                               "please try again later.</body></html>")
          self.transport.loseConnection()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100331/f8bed2de/attachment.html>


More information about the calendarserver-changes mailing list