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

Issue 2206713004: Do not create incompatible TurnPort if the server address family is known. (Closed)

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

Description

Do not create incompatible TurnPort if the server address family is known. In the existing code, if the server address and the local IP family does not match, we still create a TurnPort and destroy it later. Instead, we could avoid creating it at the beginning. This does not affect the client behavior except for the port creation. BUG= R=deadbeef@webrtc.org, pthatcher@webrtc.org, zhihuang@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/3d31bd65cf5b582b8a9667c0abbf28cd77c5873d

Patch Set 1 : . #

Total comments: 6

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M webrtc/p2p/client/basicportallocator.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
honghaiz3
PTAL
4 years, 4 months ago (2016-08-03 21:12:55 UTC) #4
pthatcher1
unit test? https://codereview.webrtc.org/2206713004/diff/20001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/2206713004/diff/20001/webrtc/p2p/client/basicportallocator.cc#newcode1303 webrtc/p2p/client/basicportallocator.cc:1303: if (server_ip_family != AF_UNSPEC && server_ip_family != ...
4 years, 4 months ago (2016-08-03 21:33:08 UTC) #6
Taylor Brandstetter
I don't know if this is something that can (or should) be unit tested. Creating ...
4 years, 4 months ago (2016-08-05 20:31:29 UTC) #7
honghaiz3
It did not create extra socket in the non-shared-socket mode. It does not have observable ...
4 years, 4 months ago (2016-08-05 22:04:07 UTC) #8
Taylor Brandstetter
lgtm https://codereview.webrtc.org/2206713004/diff/20001/webrtc/p2p/client/basicportallocator.cc File webrtc/p2p/client/basicportallocator.cc (right): https://codereview.webrtc.org/2206713004/diff/20001/webrtc/p2p/client/basicportallocator.cc#newcode1303 webrtc/p2p/client/basicportallocator.cc:1303: if (server_ip_family != AF_UNSPEC && server_ip_family != local_ip_family) ...
4 years, 4 months ago (2016-08-05 22:19:26 UTC) #9
Zhi Huang
On 2016/08/05 22:19:26, Taylor Brandstetter wrote: > lgtm > > https://codereview.webrtc.org/2206713004/diff/20001/webrtc/p2p/client/basicportallocator.cc > File webrtc/p2p/client/basicportallocator.cc (right): ...
4 years, 4 months ago (2016-08-05 23:45:33 UTC) #10
pthatcher1
lgtm
4 years, 4 months ago (2016-08-08 22:15:29 UTC) #11
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/2206713004/40001
4 years, 4 months ago (2016-08-09 18:23:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_arm on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_arm/builds/105)
4 years, 4 months ago (2016-08-09 18:33:48 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/3d31bd65cf5b582b8a9667c0abbf28cd77c5873d Cr-Commit-Position: refs/heads/master@{#13720}
4 years, 4 months ago (2016-08-10 17:33:25 UTC) #17
honghaiz3
4 years, 4 months ago (2016-08-10 17:33:30 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:40001) manually as
3d31bd65cf5b582b8a9667c0abbf28cd77c5873d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698