Add service identity to SSL socket and use in ticket cache
authorNeel Goyal <ngoyal@fb.com>
Thu, 3 Mar 2016 20:29:48 +0000 (12:29 -0800)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Thu, 3 Mar 2016 20:35:42 +0000 (12:35 -0800)
commit41e2f6d405ba7edca693cb3a1ffa5285a24362a4
tree31b96b1b059a23a5222e70cab15094114a408577
parentc85159a3ad124f41ab46e567a595c02748d0da46
Add service identity to SSL socket and use in ticket cache

Summary:Allow applications to specify a service identity tied to an SSLSocket
that can be used as a ticket cache key.

Further, add the cache key to the SSL_SESSION object and serialize it.

Reviewed By: siyengar

Differential Revision: D2991005

fb-gh-sync-id: 25a5ddbb66bd9da2084159136cbe4d55b9e00f28
shipit-source-id: 25a5ddbb66bd9da2084159136cbe4d55b9e00f28
folly/io/async/AsyncSSLSocket.h