1
0
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:
dmiller
2018-05-04 05:10:54 +00:00
parent b0fddde9d7
commit fe4830dbf7

View File

@@ -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