[*] Solve two Linux regressions introduced/poorly worked around in: e7597b8463
, 592afe00a7
This commit is contained in:
parent
e7597b8463
commit
cb69a7e737
@ -459,10 +459,10 @@ namespace Aurora::IO::Net
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
freeaddrinfo(pItr);
|
||||
}
|
||||
|
||||
freeaddrinfo(this->gnuAsyncOperation.ar_result);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -262,7 +262,8 @@ namespace Aurora::IO::Net
|
||||
bool LinuxAsyncNetworkTransaction::HasCompleted()
|
||||
{
|
||||
return this->bHasFailed ||
|
||||
this->dwLastBytes;
|
||||
this->dwLastBytes ||
|
||||
this->bLatch;
|
||||
}
|
||||
|
||||
AuUInt LinuxAsyncNetworkTransaction::GetOSErrorCode()
|
||||
@ -389,14 +390,6 @@ namespace Aurora::IO::Net
|
||||
SysPushErrorCatch();
|
||||
}
|
||||
}
|
||||
|
||||
if (!read)
|
||||
{
|
||||
if (this->pSocket)
|
||||
{
|
||||
this->pSocket->SendEnd();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
int LinuxAsyncNetworkTransaction::GetSocket()
|
||||
|
Loading…
Reference in New Issue
Block a user