mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Added handling for WSAENETRESET (same as ENETRESET). Currently we just catch it and send the next probe. I wrapped the catch for ENETRESET in the #ifdef WIN32 incase we later want to different handling for WASENETREST and ENETRESET
This commit is contained in:
parent
e41d4a4e7e
commit
a62e7198f8
1 changed files with 6 additions and 0 deletions
|
|
@ -2488,6 +2488,12 @@ static void servicescan_read_handler(nsock_pool nsp, nsock_event nse, void *myda
|
|||
break;
|
||||
#ifndef WIN32
|
||||
case EPIPE:
|
||||
|
||||
case ENETRESET:
|
||||
//This error (same as WSAENETRESET according to nbase_winunix) is Microsoft only error, where the connected host crashes and then resets during the communication
|
||||
//More information can be found at http://www.sockets.com/err_lst1.htm#WSAENETRESET.
|
||||
//I assume that we shouldn't bother doing anything beyond catching it, and then going on to the next probe.
|
||||
|
||||
#endif
|
||||
#ifdef EPROTO
|
||||
case EPROTO:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue