diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-11 23:52:21 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-11 23:52:21 +0000 |
commit | 0f8fca5f32adcca1c0d3358cda7632bfa163b4fc (patch) | |
tree | 73cae0b38da1d89d371e29f5fc8351c788569d3f /content/browser/android/content_startup_flags.cc | |
parent | 5ca0a17a3be60634d6cd6fe77d0454d55437f45a (diff) | |
download | chromium_src-0f8fca5f32adcca1c0d3358cda7632bfa163b4fc.zip chromium_src-0f8fca5f32adcca1c0d3358cda7632bfa163b4fc.tar.gz chromium_src-0f8fca5f32adcca1c0d3358cda7632bfa163b4fc.tar.bz2 |
[Telemetry] Eliminate flaky address-in-use errors.
Asking for an available port and then using it later is a flaky pattern because
something else could use that port in the meantime.
This patch fixes the important cases by removing uses of GetAvailableLocalPort().
Remaining uses are mitigated by:
- Moving unavoidable uses of it as close to the use as possible.
- Renaming the method to GetUnreservedAvailableLocalPort().
BUG=304383
Review URL: https://codereview.chromium.org/67983002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/android/content_startup_flags.cc')
0 files changed, 0 insertions, 0 deletions