[CalendarServer-changes] [9082] CalendarServer/branches/users/glyph/ipv6-client/contrib/performance/ loadtest/ical.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 13 11:46:17 PDT 2012
Revision: 9082
http://trac.macosforge.org/projects/calendarserver/changeset/9082
Author: glyph at apple.com
Date: 2012-04-13 11:46:17 -0700 (Fri, 13 Apr 2012)
Log Message:
-----------
change from connectTCP to GAIEndpoint in contrib.performance.loadtest.ical
Modified Paths:
--------------
CalendarServer/branches/users/glyph/ipv6-client/contrib/performance/loadtest/ical.py
Modified: CalendarServer/branches/users/glyph/ipv6-client/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/branches/users/glyph/ipv6-client/contrib/performance/loadtest/ical.py 2012-04-13 18:46:12 UTC (rev 9081)
+++ CalendarServer/branches/users/glyph/ipv6-client/contrib/performance/loadtest/ical.py 2012-04-13 18:46:17 UTC (rev 9082)
@@ -20,6 +20,10 @@
from urlparse import urlparse, urlunparse
from xml.etree import ElementTree
+
+from twext.internet.gaiendpoint import GAIEndpoint
+from twext.internet.adaptendpoint import connect
+
from twistedcaldav.ical import Component, Property
from pycalendar.duration import PyCalendarDuration
from pycalendar.timezone import PyCalendarTimezone
@@ -916,7 +920,7 @@
{params.pushkey: (home, home, "Calendar home")}, False,
sigint=False)
self._pushFactories.append(factory)
- self.reactor.connectTCP(host, port, factory)
+ connect(GAIEndpoint(self.reactor, host, port), factory)
@inlineCallbacks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120413/569fbe62/attachment-0001.html>
More information about the calendarserver-changes
mailing list