mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 17:53:47 +00:00
HOW DID THIS EVER WORK
This commit is contained in:
parent
32168bae9f
commit
753718c7ad
2 changed files with 5 additions and 1 deletions
|
@ -82,8 +82,9 @@ protected:
|
||||||
data->fail = true;
|
data->fail = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const unsigned httpstatus = GetStatusCode();
|
||||||
data->_th_finished = true;
|
data->_th_finished = true;
|
||||||
data->_th_aborted = (GetStatusCode() != minihttp::HTTP_OK);
|
data->_th_aborted = (httpstatus != minihttp::HTTP_OK);
|
||||||
notifyRequests.push(RequestDataHolder(data));
|
notifyRequests.push(RequestDataHolder(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -764,6 +764,9 @@ bool TcpSocket::update(void)
|
||||||
switch(err)
|
switch(err)
|
||||||
{
|
{
|
||||||
case EWOULDBLOCK:
|
case EWOULDBLOCK:
|
||||||
|
#ifdef WSAEWOULDBLOCK
|
||||||
|
case WSAEWOULDBLOCK:
|
||||||
|
#endif
|
||||||
#if defined(EAGAIN) && (EWOULDBLOCK != EAGAIN)
|
#if defined(EAGAIN) && (EWOULDBLOCK != EAGAIN)
|
||||||
case EAGAIN: // linux man pages say this can also happen instead of EWOULDBLOCK
|
case EAGAIN: // linux man pages say this can also happen instead of EWOULDBLOCK
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue