1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Removes default timeout value of 5s as there are reports (and it makes sense) that this default value is too short for some environments. Now the default timeout for sockets is used. Closes #1312

This commit is contained in:
paulino
2019-01-08 21:49:58 +00:00
parent 1a2c506c5b
commit 9af581ec03

View File

@@ -74,7 +74,6 @@ end
action = function(host, port) action = function(host, port)
local output = stdnse.output_table() local output = stdnse.output_table()
local socket = nmap.new_socket() local socket = nmap.new_socket()
socket:set_timeout(5000)
local status, err = socket:connect(host, port) local status, err = socket:connect(host, port)