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:
@@ -74,7 +74,6 @@ end
|
||||
action = function(host, port)
|
||||
local output = stdnse.output_table()
|
||||
local socket = nmap.new_socket()
|
||||
socket:set_timeout(5000)
|
||||
|
||||
local status, err = socket:connect(host, port)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user