[CalendarServer-changes] [5406] CalendarServer/branches/users/glyph/sendfdport/twext/internet/ sendfdport.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 26 02:55:48 PDT 2010
Revision: 5406
http://trac.macosforge.org/projects/calendarserver/changeset/5406
Author: glyph at apple.com
Date: 2010-03-26 02:55:47 -0700 (Fri, 26 Mar 2010)
Log Message:
-----------
Actually connect the socket to something.
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sendfdport/twext/internet/sendfdport.py
Modified: CalendarServer/branches/users/glyph/sendfdport/twext/internet/sendfdport.py
===================================================================
--- CalendarServer/branches/users/glyph/sendfdport/twext/internet/sendfdport.py 2010-03-26 09:55:09 UTC (rev 5405)
+++ CalendarServer/branches/users/glyph/sendfdport/twext/internet/sendfdport.py 2010-03-26 09:55:47 UTC (rev 5406)
@@ -183,6 +183,7 @@
"""
self.availableConnections.sort(key=lambda conn:
self.fitnessFunction(conn.status))
+ self.availableConnections[0].sendSocketToPeer(skt, description)
def addSocket(self):
@@ -226,6 +227,7 @@
self.fd = fd
self.transportFactory = transportFactory
self.protocolFactory = protocolFactory
+ self.statusQueue = []
def fileno(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100326/10d212b1/attachment.html>
More information about the calendarserver-changes
mailing list