mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
Applied Jah's patch for http.lua discussed in:
http://seclists.org/nmap-dev/2008/q2/0833.html
This commit is contained in:
@@ -110,7 +110,7 @@ request = function( host, port, data, options )
|
|||||||
-- header loop
|
-- header loop
|
||||||
while true do
|
while true do
|
||||||
line = buffer()
|
line = buffer()
|
||||||
if not line then break end
|
if (not line or line == "") then break end
|
||||||
table.insert(header,line)
|
table.insert(header,line)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user