/[Apache-SVN]
ViewVC logotype

Revision 1717031


Jump to revision: Previous Next
Author: rhuijben
Date: Sun Nov 29 11:09:44 2015 UTC (8 years, 7 months ago)
Changed paths: 3
Log Message:
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.


Changed paths

Path Details
Directoryserf/trunk/buckets/ssl_buckets.c modified , text changed
Directoryserf/trunk/config_store.c modified , text changed
Directoryserf/trunk/serf_private.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26