[CalendarServer-changes] [1636] CalendarServer/branches/release/CalendarServer-1.0-dev/lib-patches/ PyDirector/pydirector.pdnetworktwisted.patch

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 2 13:31:25 PDT 2007


Revision: 1636
          http://trac.macosforge.org/projects/calendarserver/changeset/1636
Author:   wsanchez at apple.com
Date:     2007-07-02 13:31:24 -0700 (Mon, 02 Jul 2007)

Log Message:
-----------
Pull-up r1622 from trunk

Modified Paths:
--------------
    CalendarServer/branches/release/CalendarServer-1.0-dev/lib-patches/PyDirector/pydirector.pdnetworktwisted.patch

Modified: CalendarServer/branches/release/CalendarServer-1.0-dev/lib-patches/PyDirector/pydirector.pdnetworktwisted.patch
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.0-dev/lib-patches/PyDirector/pydirector.pdnetworktwisted.patch	2007-07-02 20:29:35 UTC (rev 1635)
+++ CalendarServer/branches/release/CalendarServer-1.0-dev/lib-patches/PyDirector/pydirector.pdnetworktwisted.patch	2007-07-02 20:31:24 UTC (rev 1636)
@@ -1,5 +1,5 @@
---- pydirector/pdnetworktwisted.py	2004-12-14 05:31:39.000000000 -0800
-+++ pydirector/pdnetworktwisted.py	2007-04-10 17:25:44.000000000 -0700
+--- pydirector/pdnetworktwisted.py	2007-06-27 11:42:28.000000000 -0700
++++ pydirector/pdnetworktwisted.py	2007-06-27 11:40:37.000000000 -0700
 @@ -28,10 +28,13 @@
          attribute .listening_address: read - a tuple of (host,port)
      """
@@ -16,6 +16,15 @@
          self.setScheduler(scheduler)
          reactor.listenTCP(bindport, self.rfactory, interface=bindhost)
  
+@@ -58,7 +61,7 @@
+         """
+         if self.receiver is not None:
+             if reason.type is twisted.internet.error.ConnectionDone:
+-                return
++                pass
+             elif reason.type is twisted.internet.error.ConnectionLost:
+                 pass
+             else:
 @@ -79,6 +82,14 @@
              it's ok to send any buffered data from the client.
          """

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070702/f58909ef/attachment.html


More information about the calendarserver-changes mailing list