Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Issue 2235843003: Fix for data channels perpetually stuck in "closing" state. (Closed)

Created:
4 years, 4 months ago by Taylor Brandstetter
Modified:
4 years, 4 months ago
Reviewers:
Zhi Huang, skvlad
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -61 lines) Patch
M webrtc/api/datachannel.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/api/datachannel.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M webrtc/api/datachannel_unittest.cc View 21 chunks +83 lines, -58 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Taylor Brandstetter
Zhi and Vlad, can you take a look? This is just a small bug I ...
4 years, 4 months ago (2016-08-11 03:10:28 UTC) #2
skvlad
On 2016/08/11 03:10:28, Taylor Brandstetter wrote: > Zhi and Vlad, can you take a look? ...
4 years, 4 months ago (2016-08-11 17:05:06 UTC) #3
Taylor Brandstetter
On 2016/08/11 17:05:06, skvlad wrote: > On 2016/08/11 03:10:28, Taylor Brandstetter wrote: > > Zhi ...
4 years, 4 months ago (2016-08-11 17:19:33 UTC) #4
Zhi Huang
On 2016/08/11 17:19:33, Taylor Brandstetter wrote: > On 2016/08/11 17:05:06, skvlad wrote: > > On ...
4 years, 4 months ago (2016-08-11 17:29:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2235843003/1
4 years, 4 months ago (2016-08-11 21:56:18 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/9484)
4 years, 4 months ago (2016-08-11 22:19:22 UTC) #9
Taylor Brandstetter
4 years, 4 months ago (2016-08-12 17:10:48 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
4cb5b64b16deeb1cb22141ad104ed83ff4899624 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698