mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 09:56:22 +01:00
engine: net_http: don't consider EALREADY on connect() an error
This commit is contained in:
parent
779cb2f721
commit
823dc3d46f
@ -300,7 +300,7 @@ static int HTTP_FileConnect( httpfile_t *file )
|
||||
if( res < 0 )
|
||||
{
|
||||
int err = WSAGetLastError();
|
||||
if( err != WSAEWOULDBLOCK && err != WSAEINPROGRESS )
|
||||
if( err != WSAEWOULDBLOCK && err != WSAEINPROGRESS && err != WSAEALREADY )
|
||||
{
|
||||
Con_Printf( S_ERROR "cannot connect to server: %s\n", NET_ErrorString( ));
|
||||
HTTP_FreeFile( file, true );
|
||||
|
Loading…
Reference in New Issue
Block a user