|
|
DescriptionPrune 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 #
Messages
Total messages: 37 (28 generated)
Description was changed from ========== Prune connections based on network name. Also simply the implementation. BUG= ========== to ========== Prune connections based on network name. Previously we prune connections on the same network pointer. So if an IPv6 and an IPv4 network on the same network interface, IPv4 connection won't 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= ==========
Patchset #1 (id:1) has been deleted
Patchset #1 (id:20001) has been deleted
Patchset #1 (id:40001) has been deleted
skvlad@webrtc.org changed reviewers: + skvlad@webrtc.org
lgtm https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeporta... File webrtc/p2p/base/fakeportallocator.h (right): https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeporta... webrtc/p2p/base/fakeportallocator.h:129: &FakePortAllocatorSession::OnPortDestroyed); Very minor: can this me moved to inside AddPort?
The CQ bit was checked by honghaiz@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Thanks! https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeporta... File webrtc/p2p/base/fakeportallocator.h (right): https://codereview.webrtc.org/2395243005/diff/50005/webrtc/p2p/base/fakeporta... webrtc/p2p/base/fakeportallocator.h:129: &FakePortAllocatorSession::OnPortDestroyed); On 2016/10/10 18:23:04, skvlad wrote: > Very minor: can this me moved to inside AddPort? Done.
The CQ bit was checked by honghaiz@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from skvlad@webrtc.org Link to the patchset: https://codereview.webrtc.org/2395243005/#ps70001 (title: "Address skvlad's comment")
The CQ bit was unchecked by honghaiz@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Description was changed from ========== Prune connections based on network name. Previously we prune connections on the same network pointer. So if an IPv6 and an IPv4 network on the same network interface, IPv4 connection won't 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= ========== to ========== 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= ==========
Description was changed from ========== 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= ========== to ========== 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 ==========
The CQ bit was checked by honghaiz@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
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...)
The CQ bit was checked by honghaiz@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/19083)
Patchset #3 (id:90001) has been deleted
The CQ bit was checked by honghaiz@webrtc.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Patchset #3 (id:110001) has been deleted
The CQ bit was checked by honghaiz@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from skvlad@webrtc.org Link to the patchset: https://codereview.webrtc.org/2395243005/#ps130001 (title: "Override system-provided HasIPv6Enabled method")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #3 (id:130001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/aae2784c1fab9d1510393dec15d76caa574e2da8 Cr-Commit-Position: refs/heads/master@{#14593}
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.. |