DescriptionBugfixes in JingleSession
1. Previously JingleSession didn't allow transport-info messages in
AUTHENTICATING state. Problem is that authentication messages may be
processed asynchronously, so potentially transport-info may be
received in AUTHENTICATING state even if the peer sends it in
AUTHENTICATED state. Now transport-info messages are queued until
authentication is finished. In future this may also allow to start
transport handshake before authentication is finished.
2. Message reordering logic wasn't handling the case when the session
is destroyed after one of the reordered messages. Fixed it and added
test.
3. Other minor fixes: replaced std::set<> and std::list<> with
std::vector<> for message queues, made PendingMessage movable.
Committed: https://crrev.com/04e7784ab645b42a30304cf515efd694dddc2ba0
Cr-Commit-Position: refs/heads/master@{#428768}
Patch Set 1 #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 11 (5 generated)
|