diff options
author | corvid <devnull@localhost> | 2016-07-09 02:02:40 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2016-07-09 02:02:40 +0000 |
commit | f371629e8298c72bc087f7f6294e121ebdbc4b5c (patch) | |
tree | fa0856457e867e95287ebbee8a688411bac9da84 /src | |
parent | 024df0ee2946374450ccf8f6a553e7a6a01ee1af (diff) |
freeing http socket, close FD that's being connected
Diffstat (limited to 'src')
-rw-r--r-- | src/IO/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |