tcp::client::ConnectionProvider: remove incorrect condition.

This commit is contained in:
lganzzzo 2021-11-16 23:56:17 +02:00
parent 5e9ae5796f
commit c254b0c60d

View File

@ -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);
}