forked from webrtc-sdk/webrtc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcsctp: Only reset paused streams when peer acks
When a single stream is reset, and an outgoing SSN reset request is sent and later acked by the peer sending a reconfiguration response with status=Performed, the sender should unpause the paused stream and reset the SSNs of that (ordered) stream. But only the single stream that was paused, and not all streams. In this scenario, dcSCTP would - when the peer acked the SSN reset request - reset the SSN of all streams. This was found by [email protected] using a data channel test application. The peer, if it's a usrsctp client, will ABORT with PROTOCOL_VIOLATION as it has already seen that SSN on that stream but with a different TSN. This bug was introduced when implementing the Round Robin scheduler in https://webrtc-review.googlesource.com/c/src/+/219682. The FCFS scheduler prior to this change was implemented correctly. Bug: webrtc:12952 Change-Id: I3ea144a1df303145f69a5b03aada7f448c8c8163 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/225266 Reviewed-by: Florent Castelli <[email protected]> Commit-Queue: Victor Boivie <[email protected]> Cr-Commit-Position: refs/heads/master@{#34436}
- Loading branch information
Victor Boivie
authored and
WebRTC LUCI CQ
committed
Jul 8, 2021
1 parent
706ef1b
commit 8bd26e1
Showing
3 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters