DescriptionFix for data channels perpetually stuck in "closing" state.
If the data transport is destroyed while data is buffered (due to
the PC being closed, or a description set with data rejected), the
data channel was getting stuck in a "closing" state, waiting to
finish sending its buffered data. But since there's no more transport,
it will never get another chance to send buffered data.
It just needs to terminate non-gracefully and discard the buffered data
in this situation.
R=skvlad@webrtc.org, zhihuang@webrtc.org
Committed: https://crrev.com/4cb5b64b16deeb1cb22141ad104ed83ff4899624
Cr-Commit-Position: refs/heads/master@{#13737}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|