mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-25 19:30:08 +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 )
|
if( res < 0 )
|
||||||
{
|
{
|
||||||
int err = WSAGetLastError();
|
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( ));
|
Con_Printf( S_ERROR "cannot connect to server: %s\n", NET_ErrorString( ));
|
||||||
HTTP_FreeFile( file, true );
|
HTTP_FreeFile( file, true );
|
||||||
|
Loading…
Reference in New Issue
Block a user