mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 20:29:03 +00:00
Make IOCP the default Nsock engine on Windows. See #2126
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [GH#2126] Fix the "iocp" Nsock engine for Windows to be able to correctly
|
||||
handle PCAP read events. This engine is now the default for Windows, which
|
||||
should greatly improve performance over the previous default, the "poll"
|
||||
engine. [Daniel Miller]
|
||||
|
||||
o [GH#2051] Restrict Nmap's search path for scripts and data files.
|
||||
NMAPDATADIR, defined on Unix and Linux as ${prefix}/share/nmap, will not be
|
||||
searched on Windows, where it was previously defined as C:\Nmap .
|
||||
|
||||
@@ -100,8 +100,8 @@ extern struct io_engine engine_select;
|
||||
static struct io_engine *available_engines[] = {
|
||||
ENGINE_EPOLL
|
||||
ENGINE_KQUEUE
|
||||
ENGINE_POLL
|
||||
ENGINE_IOCP
|
||||
ENGINE_POLL
|
||||
ENGINE_SELECT
|
||||
NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user