mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
minor patch
This commit is contained in:
parent
12a7fd4054
commit
0db0571f35
|
@ -353,6 +353,7 @@ class Connect:
|
|||
# Explicit closing of connection object
|
||||
if not conf.keepAlive:
|
||||
try:
|
||||
if hasattr(conn.fp, '_sock'):
|
||||
conn.fp._sock.close()
|
||||
conn.close()
|
||||
except Exception, msg:
|
||||
|
|
Loading…
Reference in New Issue
Block a user