if SendStandaloneAckMessage fails, ReliableMessageMgr::ExecuteActions() loops infinitely
Problem
infinte loop
Proposed Solution
This is essentially a race problem - in order to properly shut down a connection, the acks should be flushed first, but that doesn't appear to be happening
Happens if I try to call CloseSession in the CommissioneeDeviceProxy
So what we are doing here is calling ExpirePairing on the session manager.
That will call ReleaseSession, which will end up landing us in ExchangeContext::OnSessionReleased. That will
try to flush acks and then remove the retrans table entry.
The FlushAcks will presumably fail because the session is already gone (?). But either way the retrans table entry should go away.
And after this, the exchange should generally be deallocated at some point, and then it will no longer show up in ExecuteForAllContext in ExecuteActions.
I guess I am not clear on where the infinite loop here is. Which loops is it, @cecille ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This stale issue has been automatically closed. Thank you for your contributions.
This stale issue has been automatically closed. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This stale issue has been automatically closed. Thank you for your contributions.