mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 20:59:02 +00:00
Fixed bug where socket error messages (like EOF) were appended to the HTTP pipeline response
This commit is contained in:
@@ -648,7 +648,7 @@ pipeline = function(host, port, allReqs, options)
|
|||||||
response_raw = ""
|
response_raw = ""
|
||||||
while recv_status do
|
while recv_status do
|
||||||
recv_status, response_tmp = socket:receive()
|
recv_status, response_tmp = socket:receive()
|
||||||
response_raw = response_raw .. response_tmp
|
if recv_status then response_raw = response_raw .. response_tmp end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Transform the raw response we received in a table of responses and
|
-- Transform the raw response we received in a table of responses and
|
||||||
|
|||||||
Reference in New Issue
Block a user