summaryrefslogtreecommitdiffstats
path: root/modules/cache/mod_socache_shmcb.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2009-03-23 14:18:06 +0100
committerJoe Orton <jorton@apache.org>2009-03-23 14:18:06 +0100
commite1286998c46527d18a92438012738f452275aa4e (patch)
treed3e8687632cae22d8ec8330401787a59c7ce7a54 /modules/cache/mod_socache_shmcb.c
parentRemove code to support per-dir-CA configuration which relies on a (diff)
downloadapache2-e1286998c46527d18a92438012738f452275aa4e.tar.xz
apache2-e1286998c46527d18a92438012738f452275aa4e.zip
* modules/cache/mod_socache_memcache.c,
modules/cache/mod_socache_shmcb.c, modules/cache/mod_socache_dbm.c: Remove references to "SSL" throughout comments and code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757396 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/cache/mod_socache_shmcb.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c
index ceacc4e5c9..94ab25f1ef 100644
--- a/modules/cache/mod_socache_shmcb.c
+++ b/modules/cache/mod_socache_shmcb.c
@@ -40,16 +40,6 @@
#define DEFAULT_SHMCB_SUFFIX ".cache"
-
-/*
- * This shared memory based SSL session cache implementation was
- * originally written by Geoff Thorpe <geoff geoffthorpe.net> for C2Net
- * Europe as a contribution to Ralf Engelschall's mod_ssl project.
- *
- * Since rewritten by GT to not use alignment-fudging memcpys and reduce
- * complexity.
- */
-
/*
* Header structure - the start of the shared-mem segment
*/
@@ -135,7 +125,7 @@ struct ap_socache_instance_t {
* index of the first in use, subcache->idx_used gives the number in
* use. Both ->idx_* values have a range of [0, header->index_num)
*
- * Each in-use SHMCBIndex structure represents a single SSL session.
+ * Each in-use SHMCBIndex structure represents a single cached object.
* The ID and data segment are stored consecutively in the subcache's
* cyclic data buffer. The "Data" segment can thus be seen to
* look like this, for example
@@ -584,7 +574,7 @@ static void socache_shmcb_status(ap_socache_instance_t *ctx,
header->subcache_num, header->index_num);
if (non_empty_subcaches) {
average_expiry = (time_t)(expiry_total / (double)non_empty_subcaches);
- ap_rprintf(r, "time left on oldest entries' SSL sessions: ");
+ ap_rprintf(r, "time left on oldest entries' objects: ");
if (now < average_expiry)
ap_rprintf(r, "avg: <b>%d</b> seconds, (range: %d...%d)<br>",
(int)(average_expiry - now),