mirror of
https://github.com/oatpp/oatpp.git
synced 2025-02-11 17:20:52 +08:00
Fix Windows CI build. Log SimpleTCPConnectionProvider.
This commit is contained in:
parent
121d079e7d
commit
7dbae02b89
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user