Fix Windows CI build. Log SimpleTCPConnectionProvider.

This commit is contained in:
lganzzzo 2020-01-09 02:13:42 +02:00
parent 121d079e7d
commit 7dbae02b89

View File

@ -223,8 +223,12 @@ bool SimpleTCPConnectionProvider::prepareConnectionHandle(oatpp::data::v_io_hand
std::shared_ptr<oatpp::data::stream::IOStream> SimpleTCPConnectionProvider::getDefaultConnection() {
OATPP_LOGD("AAA", "accept begin");
oatpp::data::v_io_handle handle = accept(m_serverHandle, nullptr, nullptr);
OATPP_LOGD("AAA", "accept result=%d", handle);
if(prepareConnectionHandle(handle)) {
return std::make_shared<Connection>(handle);
}