Descriptionnet: Implement new SSL session cache for OpenSSL sockets.
This patch reworks the SSL session caching scheme for OpenSSL
client sockets, as an attempt to get rid of the mysterious crashes
described at http://crbug.com/298606
- Move the internal SSLSessionCache class to its own source file,
while renaming it as SSLSessionCacheOpenSSL.
- Change the session caching logic to:
- Completely disable OpenSSL's builtin cache.
- Implement Session ID generation (and uniqueness check).
- Implement eviction and expiration detection.
- Add a unit test for SSLSessionCacheOpenSSL.
- Modify SSLClientSocketOpenSSL implementation to use the new cache.
BUG=298606
R=rsleevi@chromium.org,agl@chromium.org,wtc@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238398
Patch Set 1 #Patch Set 2 : Fix linux_redux build #Patch Set 3 : Fix component build. #Patch Set 4 : Fix component build #Patch Set 5 : Remove un-needed includes #
Total comments: 26
Patch Set 6 : nits #Patch Set 7 : Optimize insertion into KeyIndex for new sessions. #
Total comments: 9
Patch Set 8 : Update comments #
Total comments: 2
Messages
Total messages: 11 (0 generated)
|