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

Unified Diff: net/socket/ssl_client_socket_mac.cc

Issue 502087: Use Separate SSL Session Cache in OTR Mode (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 6 months 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/socket/ssl_client_socket_mac.cc
===================================================================
--- net/socket/ssl_client_socket_mac.cc (revision 51274)
+++ net/socket/ssl_client_socket_mac.cc (working copy)
@@ -810,6 +810,9 @@
return rv;
const struct addrinfo* ai = address.head();
std::string peer_id(hostname_);
+ // Unique session cache for OTR mode
+ if (ssl_config_.otr_mode)
+ peer_id += std::string("OTR");
davidben 2010/07/26 21:31:33 Unless hostname also includes the port (and even t
peer_id += std::string(reinterpret_cast<char*>(ai->ai_addr),
ai->ai_addrlen);

Powered by Google App Engine
This is Rietveld 408576698