[Bug 49471] New: Add a WockyConnector::connection-established

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 4 12:29:44 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=49471

             Bug #: 49471
           Summary: Add a WockyConnector::connection-established
    Classification: Unclassified
           Product: Wocky
           Version: git master
          Platform: Other
               URL: http://cgit.freedesktop.org/~jonny/wocky/log/?h=connec
                    tion-established
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jonny.lamb at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


I want a way to get to the socket as early as possible to set TCP_NODELAY. This
is one way of doing it.

Another way would be have a wocky_connector_set_tcp_nodelay(WockyConnector *,
gboolean) like Twisted does. I'm not really fussed.

wocky-connector-test is basically the only test which actually touches sockets
(the rest use fake streams which just pass strings around which is good) so I
set TCP_NODELAY there too which dropped the running time of all the tests from
37s to 10s. Not bad.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list