mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Make IOCP the default Nsock engine on Windows. See #2126
This commit is contained in:
parent
eb6e160cb9
commit
e214019922
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue