commit | 05b4a32bf82c4a40e5fb8f85ae479b5ec1b6fe1e | [log] [tgz] |
---|---|---|
author | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Aug 15 01:26:45 2012 |
committer | szym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Aug 15 01:26:45 2012 |
tree | cdaa10f49bba4dea21ef9e3e384e05485e1e36ab | |
parent | cb13569f6b3026bd2f781ff28796a4adf272c43a [diff] |
[net/dns] Hardcode DnsConfig.timeout to 1 second. Currently, it is read from OS (if available) or set to 5 seconds (on Windows). In some cases the OS provides ridiculous values (30s on Mac). This change hard-codes the timeout to 1 second, which is the default used by getaddrinfo on Windows and Mac. BUG=124437 Review URL: https://chromiumcodereview.appspot.com/10826212 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151626 0039d316-1c4b-4281-b951-d872f2087c98