Sszym@chromium.org[net/dns] Collect histogram on HOSTS file size.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Fix leak of DnsSession in DnsClientImpl. BUG=144269 Review URL: https://chromiumcodereview.appspot.com/10878016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153018 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos. Unlike DnsConfigServicePosix, the CrOS implementation uses signals from NetworkManager (via NetworkLibrary), rather than watching files in /etc. BUG=125877 TEST=Enable "Built-in Asynchronous DNS". Check if chrome://net-internals/#dns shows DNS config. Review URL: https://chromiumcodereview.appspot.com/10909034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156055 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos. Unlike DnsConfigServicePosix, the CrOS implementation uses signals from NetworkManager (via NetworkLibrary), rather than watching files in /etc. BUG=125877 TEST=Enable "Built-in Asynchronous DNS". Check if chrome://net-internals/#dns shows DNS config. Review URL: https://chromiumcodereview.appspot.com/10909034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156055 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
More -Wunused-private-field cleanups. As of http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120716/061102.html the warning finds more bugs. Fix them. BUG=none TEST=none TBR=owners Review URL: https://chromiumcodereview.appspot.com/10800052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147666 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[cros/net] Add DnsConfigService to NetworkChangeNotifierChromeos. Unlike DnsConfigServicePosix, the CrOS implementation uses signals from NetworkManager (via NetworkLibrary), rather than watching files in /etc. BUG=125877 TEST=Enable "Built-in Asynchronous DNS". Check if chrome://net-internals/#dns shows DNS config. Review URL: https://chromiumcodereview.appspot.com/10909034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156055 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Instrument DnsConfigService to measure performance and failures. BUG=125599 TEST=chrome://histograms Review URL: https://chromiumcodereview.appspot.com/10543168 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143051 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Collect histogram on HOSTS file size. 4% of attempts to parse the HOSTS file fail because reading the file fails. This is likely because files above 65kB are rejected. This CL installs the AsyncDNS.HostsSize histogram to measure the observed size of HOSTS file on each call to ParseHostsFile. BUG=137914 Review URL: https://chromiumcodereview.appspot.com/10910229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156327 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Removes locking from DnsConfigServiceWin and adds local computer name. Also adds hostname normalization to lower case when resolving from HOSTS. BUG=112907, 118412, 118995 TEST=./net_unittests --gtest_filter=DnsConfigService* Review URL: http://codereview.chromium.org/9721002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128498 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Add base::HostToNetXX() & NetToHostXX(), and use them to replace htonX() & ntohX() in Chrome. This primarily addresses issues with code using the OS-provided htonX() & ntohX() functions from within the Chrome sandbox. Under Windows these functions are provided by ws2_32.dll, which is no longer available within Chrome's sandbox. The new base::HostToNetXX() and NetToHostXX() functions are safe for use by sandboxed code on Windows, and provide a single place where future fixes for other platforms can be made. BUG=117252 Review URL: http://codereview.chromium.org/9716020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129476 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Isolates generic DnsClient from AsyncHostResolver. DnsClient provides a generic DNS client that allows fetching resource records. DnsClient is very lightweight and does not support aggregation, queuing or prioritization of requests. This is the first CL in a series to merge AsyncHostResolver into HostResolverImpl. Also introduces general-purpose BigEndianReader/Writer. Removes DnsTransactionTest-related suppressions. BUG=90881,80225,106688 TEST=./net_unittests Review URL: http://codereview.chromium.org/8852009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113640 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Resolve AF_UNSPEC on dual-stacked systems. Sort addresses according to RFC3484. Original review: http://codereview.chromium.org/10442098/ BUG=113993 TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec Review URL: https://chromiumcodereview.appspot.com/10855179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
DnsClient refactoring + features (timeout, suffix search, server rotation). DnsClient::Request ==> DnsTransaction DnsTransaction ==> DnsTransactionImpl DnsClient ==> DnsTransactionFactory BUG=109949 TEST=net_unittests --gtest_filter=Dns* Review URL: http://codereview.chromium.org/9190031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119146 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net] Move DnsConfigService to NetworkChangeNotifier. This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Don't abandon a DnsUDPAttempt when the response does not match the query. When an unexpected packet is read from the socket, the current behavior is to give up on this attempt and immediately make another one. Considerable fraction of observed failures is due to ERR_DNS_MALFORMED_RESPONSE errors which might be false positives. For example, if behind a NAT, we might be receiving packets through stale mappings (addressed to other hosts). Rather than simply ignoring malformed packets, this CL implements the behavior: "don't give up on this attempt, but immediately make another one." BUG=107413 TEST=./net_unittests --gtest_filter=DnsTransactionTest.MalformedResponse* Review URL: https://chromiumcodereview.appspot.com/10824238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154171 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Don't abandon a DnsUDPAttempt when the response does not match the query. When an unexpected packet is read from the socket, the current behavior is to give up on this attempt and immediately make another one. Considerable fraction of observed failures is due to ERR_DNS_MALFORMED_RESPONSE errors which might be false positives. For example, if behind a NAT, we might be receiving packets through stale mappings (addressed to other hosts). Rather than simply ignoring malformed packets, this CL implements the behavior: "don't give up on this attempt, but immediately make another one." BUG=107413 TEST=./net_unittests --gtest_filter=DnsTransactionTest.MalformedResponse* Review URL: https://chromiumcodereview.appspot.com/10824238 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154171 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
[net/dns] Watch configd notifications to detect DnsConfig changes on Mac. libresolv communicates with configd via the BSD libnotify mechanism. Using the same interface, DnsConfigService can receive signal at the exact moment new configuration is available to libresolv, then read it using res_ninit. BUG=121126 TEST=Manually poke at system configuration while DnsConfigService is running. Review URL: http://codereview.chromium.org/9969190 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132698 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Update use of TimeDelta in net/*. R=agl@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/10029001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131366 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
base::Bind fixes R=jhawkins@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/8735014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112153 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 |