From 0db66186f49438ae9c2f73ca85b915e999896309 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 26 Oct 2015 05:18:51 -0300 Subject: Use proxy_disconnect() in http, ssl, jabber, oscar Twitter and MSN are all HTTP/SSL, so they don't need it either. The out of tree facebook and steam plugins are also covered by the HTTP/SSL changes. Yahoo is written in a weird way and doesn't seem to need it (it seems it doesn't immediately stop connections when you tell it to logout) --- lib/ssl_openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ssl_openssl.c') diff --git a/lib/ssl_openssl.c b/lib/ssl_openssl.c index c286d509..38ce0598 100644 --- a/lib/ssl_openssl.c +++ b/lib/ssl_openssl.c @@ -130,7 +130,7 @@ static gboolean ssl_connected(gpointer data, gint source, b_input_condition cond /* Right now we don't have any verification functionality for OpenSSL. */ conn->func(conn->data, 1, NULL, cond); if (source >= 0) { - closesocket(source); + proxy_disconnect(source); } ssl_conn_free(conn); @@ -275,7 +275,7 @@ void ssl_disconnect(void *conn_) SSL_shutdown(conn->ssl); } - closesocket(conn->fd); + proxy_disconnect(conn->fd); ssl_conn_free(conn); } -- cgit v1.2.3