You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks to me like the following sequence of operations has a silent ignore in it:
Create a connection and open it
Set the KeepAliveInterval
Monitor for a keepalive.
It looks like you start the keep alive timer in BaseClient only when the connection is opened. And in that code you only create the timer if the user has requested a keepalive time. By default, that isn't the case. When you change the KeepAliveInterval, it notices there is no timer, and so does nothing. Hence, the timer isn't set.
The text was updated successfully, but these errors were encountered:
drieseng
changed the title
KeepAliveInterval logic not correct if a connection is already opened
Keep-alives are not activated if connection is already opened
Nov 5, 2017
It looks to me like the following sequence of operations has a silent ignore in it:
It looks like you start the keep alive timer in BaseClient only when the connection is opened. And in that code you only create the timer if the user has requested a keepalive time. By default, that isn't the case. When you change the KeepAliveInterval, it notices there is no timer, and so does nothing. Hence, the timer isn't set.
The text was updated successfully, but these errors were encountered: