Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: net/http/

Issue 5386001: Cache certificate verification results in memory. (Closed) Base URL: svn://
Patch Set: Add unit tests. Ready for review. Created 10 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
Index: net/http/
--- net/http/ (revision 68922)
+++ net/http/ (working copy)
@@ -9,6 +9,7 @@
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/http/http_cache.h"
+#include "net/http/http_network_session.h"
namespace net {
@@ -16,7 +17,8 @@
const std::string& hostname,
const SSLConfig& ssl_config,
HttpCache* http_cache)
- : SSLHostInfo(hostname, ssl_config),
+ : SSLHostInfo(hostname, ssl_config,
+ http_cache->network_layer()->GetSession()->cert_verifier()),
willchan no longer on Chromium 2010/12/13 09:30:53 Can we just pass in the CertVerifier explicitly?
callback_(new CancelableCompletionCallback<DiskCacheBasedSSLHostInfo>(

Powered by Google App Engine
This is Rietveld 408576698