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

Issue 1516613002: Only try to pair protocol matching candidates for creating connections. (Closed)

Created:
5 years ago by honghaiz3
Modified:
5 years ago
Reviewers:
pthatcher1
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

Only try to pair protocol matching candidates for creating connections. If the local port and the remote candidate's protocols do not match, do not even try to pair them. This avoids printing out confusing logs like "Attempt to change a remote candidate..." in p2ptransportchannel when two remote candidates have the same port number but different protocols. BUG= R=pthatcher@webrtc.org Committed: https://crrev.com/f9945b2d1aa2d78b19987219ea872605167d7b5f Cr-Commit-Position: refs/heads/master@{#11034}

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -6 lines) Patch
M webrtc/p2p/base/p2ptransportchannel.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download
M webrtc/p2p/base/portinterface.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/p2p/base/relayport.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/p2p/base/stunport.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/stunport.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/tcpport.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/p2p/base/tcpport.cc View 1 1 chunk +1 line, -3 lines 0 comments Download
M webrtc/p2p/base/turnport.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/p2p/base/turnport.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 20 (9 generated)
honghaiz3
5 years ago (2015-12-09 18:15:19 UTC) #2
pthatcher1
https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc#newcode746 webrtc/p2p/base/p2ptransportchannel.cc:746: Connection* connection = port->GetConnection(remote_candidate.address()); So, if we get two ...
5 years ago (2015-12-11 02:05:36 UTC) #3
honghaiz3
PTAL. https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc#newcode746 webrtc/p2p/base/p2ptransportchannel.cc:746: Connection* connection = port->GetConnection(remote_candidate.address()); On 2015/12/11 02:05:36, pthatcher1 ...
5 years ago (2015-12-11 18:36:31 UTC) #4
pthatcher1
lgtm https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc File webrtc/p2p/base/p2ptransportchannel.cc (right): https://codereview.webrtc.org/1516613002/diff/1/webrtc/p2p/base/p2ptransportchannel.cc#newcode746 webrtc/p2p/base/p2ptransportchannel.cc:746: Connection* connection = port->GetConnection(remote_candidate.address()); On 2015/12/11 18:36:31, honghaiz3 ...
5 years ago (2015-12-12 03:05:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516613002/20001
5 years ago (2015-12-14 16:19:24 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
5 years ago (2015-12-14 18:20:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516613002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516613002/40001
5 years ago (2015-12-14 18:46:27 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/6687)
5 years ago (2015-12-14 19:32:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1516613002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1516613002/40001
5 years ago (2015-12-15 19:33:54 UTC) #16
honghaiz3
Committed patchset #3 (id:40001) manually as f9945b2d1aa2d78b19987219ea872605167d7b5f (presubmit successful).
5 years ago (2015-12-15 20:20:28 UTC) #18
commit-bot: I haz the power
5 years ago (2015-12-15 20:20:33 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f9945b2d1aa2d78b19987219ea872605167d7b5f
Cr-Commit-Position: refs/heads/master@{#11034}

Powered by Google App Engine
This is Rietveld 408576698