mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Fixes #5942
This commit is contained in:
@@ -162,6 +162,9 @@ class Response(object):
|
||||
response = _http_client.HTTPResponse(FakeSocket(altered))
|
||||
response.begin()
|
||||
|
||||
# NOTE: https://github.com/sqlmapproject/sqlmap/issues/5942
|
||||
response.length = len(raw[raw.find(b"\r\n\r\n") + 4:])
|
||||
|
||||
try:
|
||||
content = response.read()
|
||||
except _http_client.IncompleteRead:
|
||||
|
||||
Reference in New Issue
Block a user