diff --git a/src/ChangeLog b/src/ChangeLog index 22800359..c7efa700 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -3,6 +3,10 @@ * openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL without SSLv3. +2014-10-29 Tim Ruehsen + + * http.c (CLOSE_FINISH): always set fd invalid after close + 2014-10-29 Tim Ruehsen * openssl.c: print cert subject and issuer RFC2253 compliant diff --git a/src/http.c b/src/http.c index 5ac69d0d..c0924713 100644 --- a/src/http.c +++ b/src/http.c @@ -1428,10 +1428,8 @@ persistent_available_p (const char *host, int port, bool ssl, if (pconn_active && (fd) == pconn.socket) \ invalidate_persistent (); \ else \ - { \ fd_close (fd); \ - fd = -1; \ - } \ + fd = -1; \ } \ } while (0)