mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +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
|
||||
while true do
|
||||
line = buffer()
|
||||
if not line then break end
|
||||
if (not line or line == "") then break end
|
||||
table.insert(header,line)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user