1
0
mirror of https://github.com/apache/httpd.git synced 2025-06-03 10:42:03 +03:00

6 Commits

Author SHA1 Message Date
Paul Querna
670a501d7d Improve mc_session_id2sz as suggested by Rüdiger.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@546708 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 02:18:59 +00:00
Paul Querna
62e270b15c Make default values for memcache config defines, rather than inline constants.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@546707 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 02:10:04 +00:00
Paul Querna
06cf030482 Fix a bug in the use of i2d_SSL_SESSION, since it increments the pointer of the buffer passed, we need to use ucaData rather than ucp to put it into memcache.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@546326 13f79535-47bb-0310-9956-ffa450edef68
2007-06-12 00:29:17 +00:00
Paul Querna
6995a0dd6a Propogate the conn_rec::pool down to ssl_scache_retrieve so that the memcache layer doesn't 'leak' into a long lived pool for temp allocations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@545608 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 20:04:34 +00:00
Paul Querna
58803119f9 Use the absolute timeout, as provided by mod_ssl, rather than trying to calculate a relative timeout. (which did it wrong anyways).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@545385 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 03:17:41 +00:00
Paul Querna
1b7a5c2566 Add support for distributed caching of SSL Sessions inside memcached, using apr_memcache, which is present in APR-Util 1.3/trunk.
This was originally written at ApacheCon US 2005 (San Diego), and was sent to the list:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200512.mbox/%3C439C6C07.9030904@force-elite.com%3E

This version is slightly cleaned up, and of course, uses the now bundled apr_memcache, rather than an external dependency.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@545379 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 02:48:04 +00:00