fixed libev handler: the heartbeat interval proposed by the server was not accepted
This commit is contained in:
parent
5d1d2c2852
commit
901298cd1c
|
|
@ -349,6 +349,9 @@ private:
|
|||
|
||||
// restart the timer
|
||||
ev_timer_again(_loop, &_timer);
|
||||
|
||||
// expose the accepted interval
|
||||
return _interval;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue