mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixes #1185
This commit is contained in:
parent
3f6c3b40dd
commit
3347fc25ca
|
@ -53,7 +53,8 @@ class HTTPSConnection(httplib.HTTPSConnection):
|
|||
break
|
||||
else:
|
||||
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)
|
||||
|
||||
if not success:
|
||||
|
|
Loading…
Reference in New Issue
Block a user