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

Issue 2395243005: Prune connections based on network name. (Closed)

Created:
4 years, 2 months ago by honghaiz3
Modified:
4 years, 2 months ago
Reviewers:
skvlad
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Prune connections based on network name. Previously we prune connections on the same network pointer. So if an IPv6 and an IPv4 network are on the same network interface, IPv4 connection won't be pruned even if an IPv6 connection with higher priority becomes writable. With this change, as long as one connection becomes writable, all connections having lower priority with the same network name will be pruned. Also simplify the implementation. BUG=webrtc:6512 Committed: https://crrev.com/aae2784c1fab9d1510393dec15d76caa574e2da8 Cr-Commit-Position: refs/heads/master@{#14593}

Patch Set 1 : . #

Total comments: 2

Patch Set 2 : Address skvlad's comment #

Patch Set 3 : Override system-provided HasIPv6Enabled method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -78 lines) Patch
M webrtc/p2p/base/fakeportallocator.h View 1 2 11 chunks +42 lines, -18 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 2 chunks +29 lines, -48 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 1 2 8 chunks +38 lines, -11 lines 0 comments Download

Messages

Total messages: 37 (28 generated)
skvlad
lgtm https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeportallocator.h File webrtc/p2p/base/fakeportallocator.h (right): https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeportallocator.h#newcode129 webrtc/p2p/base/fakeportallocator.h:129: &FakePortAllocatorSession::OnPortDestroyed); Very minor: can this me moved to ...
4 years, 2 months ago (2016-10-10 18:23:04 UTC) #6
honghaiz3
Thanks! https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeportallocator.h File webrtc/p2p/base/fakeportallocator.h (right): https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeportallocator.h#newcode129 webrtc/p2p/base/fakeportallocator.h:129: &FakePortAllocatorSession::OnPortDestroyed); On 2016/10/10 18:23:04, skvlad wrote: > Very ...
4 years, 2 months ago (2016-10-10 19:35:28 UTC) #9
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/2395243005/70001
4 years, 2 months ago (2016-10-10 19:36:15 UTC) #13
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/2395243005/70001
4 years, 2 months ago (2016-10-10 19:42:01 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/6234)
4 years, 2 months ago (2016-10-10 20:08:16 UTC) #19
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/2395243005/130001
4 years, 2 months ago (2016-10-10 22:10:17 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:130001)
4 years, 2 months ago (2016-10-10 23:00:45 UTC) #34
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/aae2784c1fab9d1510393dec15d76caa574e2da8 Cr-Commit-Position: refs/heads/master@{#14593}
4 years, 2 months ago (2016-10-10 23:00:52 UTC) #36
sprang_webrtc
4 years, 2 months ago (2016-10-11 13:43:07 UTC) #37
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:130001) has been created in
https://codereview.webrtc.org/2412433003/ by sprang@webrtc.org.

The reason for reverting is: Breaks upstream code..

Powered by Google App Engine
This is Rietveld 408576698