fixed libev handler: the heartbeat interval proposed by the server was not accepted

This commit is contained in:
Emiel Bruijntjes 2018-12-17 16:19:40 +01:00
parent 5d1d2c2852
commit 901298cd1c
1 changed files with 3 additions and 0 deletions

View File

@ -349,6 +349,9 @@ private:
// restart the timer
ev_timer_again(_loop, &_timer);
// expose the accepted interval
return _interval;
}
/**