fix warning + add redis server logging
This commit is contained in:
parent
fbf80f4ab1
commit
c32067013a
@ -195,6 +195,12 @@ namespace ix
|
||||
tokens.push_back(readResult.second);
|
||||
}
|
||||
|
||||
for (auto&& token : tokens)
|
||||
{
|
||||
std::cerr << token << " ";
|
||||
}
|
||||
std::cerr << std::endl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -58,8 +58,6 @@ namespace ix
|
||||
|
||||
void stopAcceptingConnections();
|
||||
|
||||
std::atomic<bool> _stop;
|
||||
|
||||
private:
|
||||
// Member variables
|
||||
int _port;
|
||||
@ -70,6 +68,8 @@ namespace ix
|
||||
// socket for accepting connections
|
||||
int _serverFd;
|
||||
|
||||
std::atomic<bool> _stop;
|
||||
|
||||
std::mutex _logMutex;
|
||||
|
||||
// background thread to wait for incoming connections
|
||||
|
Loading…
Reference in New Issue
Block a user