This commit is contained in:
barant committed 2020-10-27 14:40:15 -07:00
1 parent 177bc602af
commit b6546cd0dd
421 files changed
+23565 -2

No files matched your search

+4 -1
View File
@@ -73,12 +73,15 @@ namespace core {
void TCPSession::onLineReceived(std::string line) {
coreutils::Log(coreutils::LOG_DEBUG_3) << "[" << line << "]";
protocol(line);
send();
if(term)
shutdown("termination requested");
}
void TCPSession::onBlockReceived(std::string block) {
}
void TCPSession::sendToAll() {
for(auto session : server.sessions)