diff options
-rw-r--r-- | lib/http_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/http_client.c b/lib/http_client.c index 35d8081f..e368c0dc 100644 --- a/lib/http_client.c +++ b/lib/http_client.c @@ -590,6 +590,9 @@ void http_close( struct http_request *req ) if( !req ) return; + if( req->inpa > 0 ) + b_event_remove( req->inpa ); + if( req->ssl ) ssl_disconnect( req->ssl ); else |