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/http_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_client.c') diff --git a/lib/http_client.c b/lib/http_client.c index 9110b70a..2369d018 100644 --- a/lib/http_client.c +++ b/lib/http_client.c @@ -699,7 +699,7 @@ void http_close(struct http_request *req) if (req->ssl) { ssl_disconnect(req->ssl); } else { - closesocket(req->fd); + proxy_disconnect(req->fd); } http_free(req); -- cgit v1.2.3