mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: net_http: don't consider EALREADY on connect() an error
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user