| Index: runtime/bin/secure_socket.cc
|
| diff --git a/runtime/bin/secure_socket.cc b/runtime/bin/secure_socket.cc
|
| index 1e28e529b0df9e20cbadb7744daaf648d27c9f29..44158b524b3f011da520907ac2d19e5b32944c62 100644
|
| --- a/runtime/bin/secure_socket.cc
|
| +++ b/runtime/bin/secure_socket.cc
|
| @@ -450,6 +450,14 @@ void SSLFilter::Connect(const char* host_name,
|
| if (SSL_SetURL(filter_, host_name) == -1) {
|
| ThrowPRException("Unsuccessful SetURL call");
|
| }
|
| +
|
| + // This disables the SSL session cache for client connections.
|
| + // This resolves issue 7208, but degrades performance.
|
| + // TODO(7230): Reenable session cache, without breaking client connections.
|
| + status = SSL_OptionSet(filter_, SSL_NO_CACHE, PR_TRUE);
|
| + if (status != SECSuccess) {
|
| + ThrowPRException("Failed SSL_OptionSet(NO_CACHE) call");
|
| + }
|
| }
|
|
|
| // Install bad certificate callback, and pass 'this' to it if it is called.
|
|
|