mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
* [MSAFD] async support - Allow APCs to be processed while waiting for blocking IO - Remove SleepEx hacks [MSAFD][AFD][TCPIP] Patch CORE-12152 Original author: Peter Hater <[email protected]> TCPConnect: Always copy bind address into connection. [MSAFD] SetSocketInformation: Remove unnecessary TRACE code blocks [MSAFD] AfdRecvAPC and AfdSendAPC: Remove unnecessary NULL checks [MSAFD] WSPRecv, WSPRecvFrom and WSPSend: Fix leaks and fix IOCTL input buffer handling [MSAFD] Rewrite WSPSendTo [MSAFD] Rewrite WSPConnect and AfdConnectAPC [MSAFD] Remove hacky SleepEx calls [MSAFD] Don't wait with no timeout [MSAFD] send/receive: Fixes for overlapped socket - Fix IOCTL buffers handling - Allow APC to be processed [MSAFD] connect: Fixes for async connect - Allow APC to be processed - Remove "mark as connected" hack for non-blocking socket [MSAFD] Get/SetSocketInformation: Fixes for overlapped socket - Fix IOCTL buffer handling - Allow APC to be processed [MSAFD] APC fixes Fix New Moon 28 crash on website ads. [MSAFD] Code cleanup - Rename APC context data type - Rename APC functions (Afd* -> Msafd*) - Add SAL annotation - BUGBUG -> FIXME - Use sizeof(*ptr) instead of sizeof(type) - Fix debug prints [MSAFD] Add comment for SleepEx hacks [MSAFD] WSPGetOverlappedResult: Fix failed ws2_32:recv tests [MSAFD] WSPConnect: Fix IOCTL status handling [MSAFD] send/receive: Simplify IOCTL status handling [MSAFD] Get/SetSocketInformation: Simplify IOCTL status handling Co-Authored-By: Emmanuel Gonzalez <[email protected]> Co-Authored-By: Julio Carchi Ruiz <[email protected]> * [MSAFD] Fixes - pass overlapped structure pointer to apc context when there no completion routine. .NET expects this behavior - Fix WSPGetOverlappedResult to return flags and status code upon failure --------- Original author: Peter Hater <[email protected]> Co-authored-by: Thamatip Chitpong <[email protected]> Co-authored-by: Emmanuel Gonzalez <[email protected]> Co-authored-by: Julio Carchi Ruiz <[email protected]>