mirror of
https://github.com/nmap/nmap.git
synced 2026-10-08 21:36:20 +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:
parent
1a2c506c5b
commit
9af581ec03
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue