MCPcopy Create free account
hub / github.com/F-Stack/f-stack / KeepaliveClose

Method KeepaliveClose

adapter/micro_thread/mt_notify.cpp:315–323  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315void TcpKeepNtfy::KeepaliveClose()
316{
317 if (_keep_conn) {
318 MTLOG_DEBUG("remote close, fd %d, close connection", _fd);
319 ConnectionMgr::Instance()->CloseIdleTcpKeep(_keep_conn);
320 } else {
321 MTLOG_ERROR("_keep_conn ptr null, error");
322 }
323}
324
325NtfyObjMgr* NtfyObjMgr::_instance = NULL;
326NtfyObjMgr* NtfyObjMgr::Instance (void)

Callers

nothing calls this directly

Calls 1

CloseIdleTcpKeepMethod · 0.80

Tested by

no test coverage detected