From f371629e8298c72bc087f7f6294e121ebdbc4b5c Mon Sep 17 00:00:00 2001 From: corvid Date: Sat, 9 Jul 2016 02:02:40 +0000 Subject: freeing http socket, close FD that's being connected --- src/IO/http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/IO') diff --git a/src/IO/http.c b/src/IO/http.c index 8e19f4c1..5179dfab 100644 --- a/src/IO/http.c +++ b/src/IO/http.c @@ -302,6 +302,7 @@ static void Http_socket_free(int SKey) if (S->flags & HTTP_SOCKET_IOWATCH_ACTIVE) { S->flags &= ~HTTP_SOCKET_IOWATCH_ACTIVE; a_IOwatch_remove_fd(S->SockFD, -1); + dClose(S->SockFD); } dStr_free(S->https_proxy_reply, 1); -- cgit v1.2.3