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

[NSE] Added fix for deadlocks on sockets. Now, 10 or max.parallelism threads

can have as many sockets open as they need. Previously, only 10 sockets could
be open.

See: http://seclists.org/nmap-dev/2008/q3/0130.html
This commit is contained in:
batrick
2008-07-31 07:35:19 +00:00
parent f8059d931e
commit 35553f80bd
4 changed files with 231 additions and 119 deletions

View File

@@ -7,13 +7,13 @@ extern "C" {
#include "lauxlib.h"
}
int l_nsock_open(lua_State* l);
int l_nsock_new(lua_State* l);
int luaopen_nsock(lua_State *);
int l_nsock_new(lua_State *);
int l_nsock_loop(int tout);
int l_dnet_new(lua_State* l);
int l_dnet_open(lua_State* l);
int l_dnet_get_interface_link(lua_State* l);
int l_dnet_new(lua_State *);
int l_dnet_open(lua_State *);
int l_dnet_get_interface_link(lua_State *);
#endif