engine: net_http: don't consider EALREADY on connect() an error
This commit is contained in:
parent
779cb2f721
commit
823dc3d46f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue