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

Issue 2140283002: Fixing issue with DTLS channel when using "presume writable" flag. (Closed)

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

Fixing issue with DTLS channel when using "presumed writable" flag. The DtlsTransportChannel wasn't properly handling the P2PTransportChannel becoming writable before receiving a remote fingerprint; it wasn't starting the DTLS handshake whenever this happened. Committed: https://crrev.com/367efdcec1d73c807f9522b4502cbc1e59fb29b1 Cr-Commit-Position: refs/heads/master@{#13469}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressing Peter's and Vlad's comments. #

Patch Set 3 : Further cleanup. #

Total comments: 2

Patch Set 4 : Minor code shuffling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -91 lines) Patch
M webrtc/p2p/base/dtlstransportchannel.h View 1 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 2 3 6 chunks +21 lines, -25 lines 0 comments Download
M webrtc/p2p/base/dtlstransportchannel_unittest.cc View 1 2 10 chunks +105 lines, -64 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
Taylor Brandstetter
PTAL Peter and Vlad.
4 years, 5 months ago (2016-07-12 19:08:48 UTC) #2
skvlad
lgtm https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel.cc File webrtc/p2p/base/dtlstransportchannel.cc (right): https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel.cc#newcode253 webrtc/p2p/base/dtlstransportchannel.cc:253: MaybeStartDtls(); The other two calls wrap this in ...
4 years, 5 months ago (2016-07-12 21:53:52 UTC) #3
pthatcher1
lgtm All just style stuff, but this is pretty urgent to fix, so I won't ...
4 years, 5 months ago (2016-07-13 00:04:20 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel.cc File webrtc/p2p/base/dtlstransportchannel.cc (right): https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel.cc#newcode253 webrtc/p2p/base/dtlstransportchannel.cc:253: MaybeStartDtls(); On 2016/07/12 21:53:52, skvlad wrote: > The other ...
4 years, 5 months ago (2016-07-13 16:17:41 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel_unittest.cc File webrtc/p2p/base/dtlstransportchannel_unittest.cc (right): https://codereview.webrtc.org/2140283002/diff/1/webrtc/p2p/base/dtlstransportchannel_unittest.cc#newcode174 webrtc/p2p/base/dtlstransportchannel_unittest.cc:174: set_local_cert_ = (cert != nullptr); On 2016/07/13 16:17:41, Taylor ...
4 years, 5 months ago (2016-07-13 16:20:16 UTC) #6
pthatcher1
lgtm https://codereview.webrtc.org/2140283002/diff/40001/webrtc/p2p/base/dtlstransportchannel.cc File webrtc/p2p/base/dtlstransportchannel.cc (right): https://codereview.webrtc.org/2140283002/diff/40001/webrtc/p2p/base/dtlstransportchannel.cc#newcode256 webrtc/p2p/base/dtlstransportchannel.cc:256: MaybeStartDtls(); No need to do it in this ...
4 years, 5 months ago (2016-07-13 17:54:00 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/2140283002/diff/40001/webrtc/p2p/base/dtlstransportchannel.cc File webrtc/p2p/base/dtlstransportchannel.cc (right): https://codereview.webrtc.org/2140283002/diff/40001/webrtc/p2p/base/dtlstransportchannel.cc#newcode256 webrtc/p2p/base/dtlstransportchannel.cc:256: MaybeStartDtls(); On 2016/07/13 17:54:00, pthatcher1 wrote: > No need ...
4 years, 5 months ago (2016-07-13 18:33:18 UTC) #8
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/2140283002/60001
4 years, 5 months ago (2016-07-13 18:35:32 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-13 19:10:22 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-13 19:10:24 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 19:10:32 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/367efdcec1d73c807f9522b4502cbc1e59fb29b1
Cr-Commit-Position: refs/heads/master@{#13469}

Powered by Google App Engine
This is Rietveld 408576698