mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
Check for response body from http trackers
This commit is contained in:
@@ -890,7 +890,7 @@ Torrent =
|
||||
|
||||
local response = http.get(url, trac_port, url_ext .. request, nil)
|
||||
|
||||
if not response then
|
||||
if not response or not response.body then
|
||||
return false, "No response from tracker: " .. tracker
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user