Many changes

This commit is contained in:
Brad Arant committed 2021-08-05 13:07:53 -07:00
1 parent 50bbfcc3c3
commit 46f98dff69
11 files changed
+110 -100

No files matched your search

+4 -4
View File
@@ -84,12 +84,12 @@ namespace core {
return epfd;
}
int EPoll::processCommand(coreutils::ZString command, TCPSession *session, std::stringstream &data) {
int EPoll::processCommand(coreutils::ZString &request, TCPSession &session) {
int sequence = 0;
for(auto threadx : threads) {
data << "|" << ++sequence;
threadx.output(data);
data << "|" << std::endl;
session.out << "|" << ++sequence;
threadx.output(session.out);
session.out << "|" << std::endl;
}
return 1;
}