Many changes
This commit is contained in:
1 parent
50bbfcc3c3
commit
46f98dff69
11 files changed
+110
-100
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user