Chromium Code Reviews| 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); |