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

Unified Diff: net/url_request/url_request_view_net_internals_job.cc

Issue 464084: Cache failed DNS resolutions for 1 second.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Merge changes (to include API change in another file) Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/hresolv/hresolv.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_view_net_internals_job.cc
===================================================================
--- net/url_request/url_request_view_net_internals_job.cc (revision 34231)
+++ net/url_request/url_request_view_net_internals_job.cc (working copy)
@@ -217,12 +217,15 @@
return;
}
- out->append(StringPrintf("<ul><li>Size: %" PRIuS "</li>"
- "<li>Capacity: %" PRIuS "</li>"
- "<li>Time to live (ms): %" PRIuS "</li></ul>",
- host_cache->size(),
- host_cache->max_entries(),
- host_cache->cache_duration_ms()));
+ out->append(StringPrintf(
+ "<ul><li>Size: %" PRIuS "</li>"
+ "<li>Capacity: %" PRIuS "</li>"
+ "<li>Time to live (ms) for success entries: %" PRId64"</li>"
+ "<li>Time to live (ms) for failure entries: %" PRId64"</li></ul>",
+ host_cache->size(),
+ host_cache->max_entries(),
+ host_cache->success_entry_ttl().InMilliseconds(),
+ host_cache->failure_entry_ttl().InMilliseconds()));
out->append("<table border=1>"
"<tr>"
« no previous file with comments | « net/tools/hresolv/hresolv.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698