Chromium Code Reviews

Issue 1595613004: Reset TURN port NONCE when a new socket is created. (Closed)

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

Description

Reset TURN port NONCE when a new socket is created. For example, when the TURN port has an ALLOCATE_MISMATCH error. BUG=webrtc:5432 Committed: https://crrev.com/c463e20069c670594117a44755805ac0989cc137 Cr-Commit-Position: refs/heads/master@{#11453}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 9

Patch Set 3 : Addressed comments #

Total comments: 12

Patch Set 4 : #

Patch Set 5 : merge with head #

Unified diffs Side-by-side diffs Stats (+60 lines, -5 lines)
M webrtc/p2p/base/turnport.h View 1 chunk +1 line, -0 lines 0 comments
M webrtc/p2p/base/turnport.cc View 2 chunks +7 lines, -0 lines 0 comments
M webrtc/p2p/base/turnport_unittest.cc View 1 chunk +33 lines, -0 lines 0 comments
M webrtc/p2p/base/turnserver.h View 3 chunks +10 lines, -1 line 0 comments
M webrtc/p2p/base/turnserver.cc View 2 chunks +9 lines, -4 lines 0 comments

Messages

Total messages: 24 (11 generated)
honghaiz3
4 years, 11 months ago (2016-01-16 00:42:42 UTC) #2
pthatcher1
https://codereview.webrtc.org/1595613004/diff/20001/webrtc/p2p/base/turnport.cc File webrtc/p2p/base/turnport.cc (right): https://codereview.webrtc.org/1595613004/diff/20001/webrtc/p2p/base/turnport.cc#newcode768 webrtc/p2p/base/turnport.cc:768: ResetNonce(); It looks like we don't have a unit ...
4 years, 11 months ago (2016-01-19 01:48:39 UTC) #6
honghaiz3
PTAL. Thanks! https://codereview.webrtc.org/1595613004/diff/20001/webrtc/p2p/base/turnport.cc File webrtc/p2p/base/turnport.cc (right): https://codereview.webrtc.org/1595613004/diff/20001/webrtc/p2p/base/turnport.cc#newcode768 webrtc/p2p/base/turnport.cc:768: ResetNonce(); On 2016/01/19 01:48:38, pthatcher1 wrote: > ...
4 years, 11 months ago (2016-01-20 00:54:38 UTC) #8
Taylor Brandstetter
"ResetNonce" in itself looks good; I just have some ideas on how the unit test ...
4 years, 11 months ago (2016-01-26 02:02:06 UTC) #9
honghaiz3
Thanks! PTAL. https://codereview.webrtc.org/1595613004/diff/60001/webrtc/p2p/base/turnport_unittest.cc File webrtc/p2p/base/turnport_unittest.cc (right): https://codereview.webrtc.org/1595613004/diff/60001/webrtc/p2p/base/turnport_unittest.cc#newcode610 webrtc/p2p/base/turnport_unittest.cc:610: TEST_F(TurnPortTest, TestTurnAllocateNonceRestAfterAllocateMismatch) { On 2016/01/26 02:02:06, Taylor ...
4 years, 11 months ago (2016-01-27 01:45:24 UTC) #10
Taylor Brandstetter
lgtm https://codereview.webrtc.org/1595613004/diff/60001/webrtc/p2p/base/turnserver.h File webrtc/p2p/base/turnserver.h (right): https://codereview.webrtc.org/1595613004/diff/60001/webrtc/p2p/base/turnserver.h#newcode207 webrtc/p2p/base/turnserver.h:207: } On 2016/01/27 01:45:23, honghaiz3 wrote: > On ...
4 years, 11 months ago (2016-01-27 02:02:42 UTC) #11
pthatcher1
Mostly nits, but I would like to know why the unit test requires to allocations ...
4 years, 10 months ago (2016-01-29 17:37:47 UTC) #12
honghaiz3
Thanks! PTAL. https://codereview.webrtc.org/1595613004/diff/80001/webrtc/p2p/base/turnport_unittest.cc File webrtc/p2p/base/turnport_unittest.cc (right): https://codereview.webrtc.org/1595613004/diff/80001/webrtc/p2p/base/turnport_unittest.cc#newcode608 webrtc/p2p/base/turnport_unittest.cc:608: // Tests that TURN port NONCE will ...
4 years, 10 months ago (2016-01-29 18:46:36 UTC) #13
pthatcher1
lgtm
4 years, 10 months ago (2016-01-30 02:02:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1595613004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1595613004/100001
4 years, 10 months ago (2016-02-01 21:01:12 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1595613004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1595613004/120001
4 years, 10 months ago (2016-02-01 22:14:29 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 10 months ago (2016-02-01 23:19:19 UTC) #22
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 23:19:35 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c463e20069c670594117a44755805ac0989cc137
Cr-Commit-Position: refs/heads/master@{#11453}

Powered by Google App Engine