Alsmost TLS

This commit is contained in:
barant committed 2019-09-21 13:07:18 -07:00
1 parent 43a24b900a
commit d373a2e4a0
8 files changed
+44 -36

No files matched your search

-2
View File
@@ -14,7 +14,6 @@ namespace core {
throw coreutils::Exception("Error on bind to socket: " + std::to_string(errno));
if(listen(getDescriptor(), 10) < 0)
throw coreutils::Exception("Error on listen to socket");
ePoll.registerSocket(this);
}
TCPServer::~TCPServer() {
@@ -42,7 +41,6 @@ namespace core {
// return NULL;
// }
//
ePoll.registerSocket(session);
coreutils::Log(coreutils::LOG_DEBUG_2) << "Session started on socket " << session->getDescriptor() << ".";
return session;
}