Fwd: Generic socket handling

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Mon Aug 5 17:58:22 EDT 2013


I've been recently messing with HTTP implementation and made a nice
internal C-class for TCP connections (encrypted and/or via proxy) -
see PurpleHttpSocket and purple_http_socket_* at http.c. I think,
could be reasonable to use it globally, instead of
purple_proxy_connect and purple_ssl_connect, to make tcp handling
consistent, independently of connection type.

It needs some more work, if we want to make purple_ssl_connect* and
purple_proxy_connect* deprecated, but at this point it's just a
proposal for 3.0.0.

Please, give me an opinion.


More information about the Devel mailing list