Cache sessions on new_session_cb.
commit44aeae690b3e45ce467ccf41a8f9d0673b8beef3
authordavidben <davidben@chromium.org>
Wed, 24 Jun 2015 20:47:43 +0000 (24 13:47 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Jun 2015 20:48:25 +0000 (24 20:48 +0000)
tree66c553fd4ac4eaafc5ddc24f09c4748e0af8ce96
parent1c1555dc3f2ded65b1a279d807a143e712ecd93e
Cache sessions on new_session_cb.

As of https://boringssl-review.googlesource.com/#/c/5122/, BoringSSL creates a
new SSL_SESSION on ticket renewals, so abbreviated handshakes may also require
caching a session.

BUG=501418

Review URL: https://codereview.chromium.org/1192433005

Cr-Commit-Position: refs/heads/master@{#335993}
net/socket/ssl_client_socket_openssl.cc
net/socket/ssl_client_socket_openssl.h