[Bug 37145] Replace low level network code with GIO

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 10 15:53:01 CEST 2011


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

--- Comment #10 from Debarshi Ray <debarshi.ray at gmail.com> 2011-08-10 06:52:59 PDT ---
(In reply to comment #9)
> * Don't use g_signal_emit_by_name, use g_signal_emit direct

Fixed.

> * The following breaks SSL:
>    priv->io_stream = g_tcp_wrapper_connection_get_base_io_stream(
>         G_TCP_WRAPPER_CONNECTION(socket_connection));

Fixed. But the connect/connect-success-ssl.py test is failing, although I can
connect to Freenode. Wondering if this has something to do with self-signed
certificates.

> * CloseAsyncData and WriteAsyncData seem mostly useless. As both operations
> only should run once per 
>    connection object just keep the state in the priv data structure (shoulod
> simlify the code).

What if the send interface is invoked twice in succession before the first one
has completed? Then the contexts would get mixed up, won't they?

-- 
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