mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Fixes #1185
This commit is contained in:
parent
3f6c3b40dd
commit
3347fc25ca
|
@ -53,7 +53,8 @@ class HTTPSConnection(httplib.HTTPSConnection):
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
sock.close()
|
sock.close()
|
||||||
except (ssl.SSLError, socket.error), errMsg:
|
except (ssl.SSLError, socket.error, httplib.BadStatusLine), errMsg:
|
||||||
|
self._tunnel_host = None
|
||||||
logger.debug("SSL connection error occurred ('%s')" % errMsg)
|
logger.debug("SSL connection error occurred ('%s')" % errMsg)
|
||||||
|
|
||||||
if not success:
|
if not success:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user