Reconnection is being tried but it's failing because of ClientState::Connected. Actual client disconnection is happening after there is no PingResp and the next reconnect try is being successful.
Is this the expected behaviour? Shouldn't client be in DisconnectedState before retrying connection?
Reconnect is working but not as specified by
ReconnnectAfter
durationMy test: Take the broker down and bring it up immediately again.
Here is the client log
Reconnection is being tried but it's failing because of ClientState::Connected. Actual client disconnection is happening after there is no
PingResp
and the next reconnect try is being successful.Is this the expected behaviour? Shouldn't client be in
DisconnectedState
before retrying connection?