mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor patch for a problem noticed yesterday too (in some cases if Ctrl-C is pressed sent is most probably a None value)
This commit is contained in:
parent
88b992ad83
commit
7cb3ea20dd
|
@ -197,4 +197,6 @@ def send_all(p, data):
|
|||
|
||||
while len(data):
|
||||
sent = p.send(data)
|
||||
if not isinstance(sent, int):
|
||||
break
|
||||
data = buffer(data, sent)
|
||||
|
|
Loading…
Reference in New Issue
Block a user