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

Issue 2099783002: Fixing bug where Connection drops packets when presumed writable. (Closed)

Created:
4 years, 6 months ago by Taylor Brandstetter
Modified:
4 years, 5 months ago
Reviewers:
honghaiz3, pthatcher1
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

Fixing bug where Connection drops packets when presumed writable. The "should I simulate EWOULDBLOCK?" determination now happens solely in P2PTransportChannel. This also fixes a bug where the "last packet id" was set even if no packet was sent. R=honghaiz@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/6bb1ef2b868fef645fdddb41599d6a6693b634d8 Cr-Commit-Position: refs/heads/master@{#13307}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge with master. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -41 lines) Patch
M webrtc/p2p/base/candidatepairinterface.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 1 3 chunks +15 lines, -2 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 5 chunks +11 lines, -6 lines 0 comments Download
M webrtc/p2p/base/port.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/p2p/base/port.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M webrtc/p2p/base/transportchannel.h View 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/p2p/base/turnport_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/p2p/quic/quictransportchannel.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/p2p/quic/quictransportchannel.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/pc/channel.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/channel.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/pc/channel_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Taylor Brandstetter
This fixes the issue Honghai noticed earlier. It's also now covered by the test (I ...
4 years, 6 months ago (2016-06-24 19:17:28 UTC) #2
pthatcher1
lgtm
4 years, 6 months ago (2016-06-25 00:15:51 UTC) #3
honghaiz3
https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc File webrtc/p2p/base/port_unittest.cc (right): https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc#newcode2469 webrtc/p2p/base/port_unittest.cc:2469: EXPECT_EQ(data_size, ch1.conn()->Send(data, data_size, options)); I am really not sure ...
4 years, 5 months ago (2016-06-27 16:12:55 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc File webrtc/p2p/base/port_unittest.cc (right): https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc#newcode2469 webrtc/p2p/base/port_unittest.cc:2469: EXPECT_EQ(data_size, ch1.conn()->Send(data, data_size, options)); On 2016/06/27 16:12:54, honghaiz3 wrote: ...
4 years, 5 months ago (2016-06-27 17:35:42 UTC) #5
honghaiz3
lgtm We should go ahead to land the CL. I think it is a good ...
4 years, 5 months ago (2016-06-27 17:48:11 UTC) #6
pthatcher1
On 2016/06/27 16:12:55, honghaiz3 wrote: > https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc > File webrtc/p2p/base/port_unittest.cc (right): > > https://codereview.webrtc.org/2099783002/diff/1/webrtc/p2p/base/port_unittest.cc#newcode2469 > ...
4 years, 5 months ago (2016-06-27 18:05:19 UTC) #7
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/2099783002/20001
4 years, 5 months ago (2016-06-28 00:29:08 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14533)
4 years, 5 months ago (2016-06-28 00:36:45 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6bb1ef2b868fef645fdddb41599d6a6693b634d8 Cr-Commit-Position: refs/heads/master@{#13307}
4 years, 5 months ago (2016-06-28 01:09:16 UTC) #15
Taylor Brandstetter
4 years, 5 months ago (2016-06-28 01:09:17 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
6bb1ef2b868fef645fdddb41599d6a6693b634d8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698