Shared memory logic fix for quick disconnecting users, small tweak to sync byte reporting
This commit is contained in:
parent
5c074757f1
commit
7f3b61978f
2 changed files with 20 additions and 18 deletions
|
@ -516,7 +516,7 @@ uint32_t Controller::statSession::kill(){
|
|||
|
||||
/// Updates the given active connection with new stats data.
|
||||
void Controller::statSession::update(unsigned long index, IPC::statExchange & data){
|
||||
//update the sync byte: 0 = requesting fill, 2 = requesting refill, 1 = needs checking, > 1 = state known (100=denied, 10=accepted)
|
||||
//update the sync byte: 0 = requesting fill, 2 = requesting refill, 1 = needs checking, > 2 = state known (100=denied, 10=accepted)
|
||||
if (!data.getSync()){
|
||||
sessIndex tmpidx(data);
|
||||
std::string myHost = tmpidx.host;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue