mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
always set fd invalid after close
This commit is contained in:
parent
a6c2ba73d9
commit
42333c4a5e
@ -3,6 +3,10 @@
|
||||
* openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL
|
||||
without SSLv3.
|
||||
|
||||
2014-10-29 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* http.c (CLOSE_FINISH): always set fd invalid after close
|
||||
|
||||
2014-10-29 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||
|
||||
* openssl.c: print cert subject and issuer RFC2253 compliant
|
||||
|
@ -1428,11 +1428,9 @@ persistent_available_p (const char *host, int port, bool ssl,
|
||||
if (pconn_active && (fd) == pconn.socket) \
|
||||
invalidate_persistent (); \
|
||||
else \
|
||||
{ \
|
||||
fd_close (fd); \
|
||||
fd = -1; \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define CLOSE_INVALIDATE(fd) do { \
|
||||
|
Loading…
Reference in New Issue
Block a user