mirror of
https://github.com/oatpp/oatpp.git
synced 2025-04-18 19:00:23 +08:00
tcp::client::ConnectionProvider: remove incorrect condition.
This commit is contained in:
parent
5e9ae5796f
commit
c254b0c60d
@ -306,7 +306,7 @@ oatpp::async::CoroutineStarterForResult<const provider::ResourceHandle<data::str
|
||||
}
|
||||
if(errno == EALREADY || errno == EINPROGRESS) {
|
||||
return ioWait(m_clientHandle, oatpp::async::Action::IOEventType::IO_EVENT_WRITE);
|
||||
} else if(errno == EINTR || errno == EALREADY) {
|
||||
} else if(errno == EINTR) {
|
||||
return ioRepeat(m_clientHandle, oatpp::async::Action::IOEventType::IO_EVENT_WRITE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user