mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 12:33:40 +00:00
winhttp: Set FILE_SKIP_COMPLETION_PORT_ON_SUCCESS on sockets.
This commit is contained in:
parent
abdca2f74b
commit
96b6bf6111
|
@ -25,6 +25,7 @@
|
||||||
#include "ws2tcpip.h"
|
#include "ws2tcpip.h"
|
||||||
#include "winhttp.h"
|
#include "winhttp.h"
|
||||||
#include "schannel.h"
|
#include "schannel.h"
|
||||||
|
#include "winternl.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "winhttp_private.h"
|
#include "winhttp_private.h"
|
||||||
|
@ -223,6 +224,8 @@ DWORD netconn_create( struct hostdata *host, const struct sockaddr_storage *sock
|
||||||
free( conn );
|
free( conn );
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
if (!SetFileCompletionNotificationModes( (HANDLE)(UINT_PTR)conn->socket, FILE_SKIP_COMPLETION_PORT_ON_SUCCESS ))
|
||||||
|
ERR( "SetFileCompletionNotificationModes failed.\n" );
|
||||||
|
|
||||||
switch (conn->sockaddr.ss_family)
|
switch (conn->sockaddr.ss_family)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue