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

Issue 3015543002: Try creating sockets again if network change occurs after bind failed. (Closed)

Created:
3 years, 3 months ago by Taylor Brandstetter
Modified:
3 years, 2 months ago
Reviewers:
Zhi Huang, pthatcher1
CC:
webrtc-reviews_webrtc.org
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Try creating sockets again if network change occurs after bind failed. If the network interface appears active, but binding the sockets fails, then it won't produce any candidates even though it's never marked as "network failed". So this was causing nothing to happen once a network change event occurs and the interface becomes usable again. So, this CL adds the condition that we only disable gathering of local ports if we don't have them already. See bug for more details. BUG=webrtc:8256 Review-Url: https://codereview.webrtc.org/3015543002 Cr-Commit-Position: refs/heads/master@{#20007} Committed: https://webrtc.googlesource.com/src/+/1c46a35c5e3ba0a4f73208f91305937384895c47

Patch Set 1 #

Patch Set 2 : Split up TestGatherLowCostNetworkOnly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -36 lines) Patch
M p2p/base/relayport.cc View 1 chunk +1 line, -4 lines 0 comments Download
M p2p/client/basicportallocator.cc View 1 1 chunk +23 lines, -3 lines 0 comments Download
M p2p/client/basicportallocator_unittest.cc View 1 3 chunks +116 lines, -29 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Taylor Brandstetter
PTAL Peter and/or Zhi
3 years, 3 months ago (2017-09-16 07:48:25 UTC) #2
Zhi Huang
On 2017/09/16 07:48:25, Taylor Brandstetter wrote: > PTAL Peter and/or Zhi lgtm.
3 years, 3 months ago (2017-09-22 21:40:48 UTC) #3
pthatcher1
lgtm
3 years, 2 months ago (2017-09-26 20:44:39 UTC) #4
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/3015543002/1
3 years, 2 months ago (2017-09-27 12:40:57 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: mac_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_asan/builds/28408)
3 years, 2 months ago (2017-09-27 12:48:07 UTC) #8
Taylor Brandstetter
I'm gonna go ahead and submit, but you might want to take a look again. ...
3 years, 2 months ago (2017-09-27 17:54:59 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/3015543002/20001
3 years, 2 months ago (2017-09-27 17:55:17 UTC) #12
commit-bot: I haz the power
3 years, 2 months ago (2017-09-27 18:24:13 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://webrtc.googlesource.com/src/+/1c46a35c5e3ba0a4f73208f91305937384895c47

Powered by Google App Engine
This is Rietveld 408576698