apache /
serf /
bb961164cf80bef7881c4a3e6b7535bd3b0ab417 With the config store available we now have a location to store ssl session
state for resumption keyed by host+portnumber. Use this to optimize creating
additional ssl sessions (and in case of http/1.1 resetting connections),
within a single serf context.
* buckets/ssl_buckets.c
(ssl_handshake): Check the config to see if we have a cached session.
* config_store.c
(ssl_session_data): New struct.
(SERF_CONFIG__SSL_SESSION): New config value.
(serf__config_store_set_ssl_session,
serf__config_store_get_ssl_session): New function.
* serf_private.h
(serf__config_store_set_ssl_session,
serf__config_store_get_ssl_session): New function.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1717031 13f79535-47bb-0310-9956-ffa450edef68
3 files changed