Explorar el Código

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

lganzzzo hace 2 años
padre
commit
c254b0c60d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/oatpp/network/tcp/client/ConnectionProvider.cpp

+ 1 - 1
src/oatpp/network/tcp/client/ConnectionProvider.cpp

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