d2fcf1d01ba9f36b78eb7b66fa5af8237b79ac70 1671397 |
|
05-Apr-2015 |
rjung |
Add output for "?auto" version of server-status
to proxy status, mod_ssl session cache info,
mod_cache_socache and the status hook of the
individual socache implementations. |
ddefc4d26ec231356d9c28c8ba53ce35306e09c5 1310819 |
|
07-Apr-2012 |
igalic |
fix style, no code change. |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
738d06536327e345daac9f4978b957262f48cfac 1142733 |
|
04-Jul-2011 |
rjung |
Silence compiler warnings. |
7d59a9f282af9dce031b61062a0d941641101237 1068778 |
|
09-Feb-2011 |
rpluem |
* Make module compile by fixing some typos.
PR: 50735
Submitted by: Mark Montague <mark catseye.org>
Reviewed by: rpluem |
cf25139efeb705911e931b68a521d8b65ff922ee 958157 |
|
26-Jun-2010 |
wrowe |
Introduce an socache iterator 'userctx' for the user to track the
context of their own callback.
Breaks API, but we probably wanted an mmn reset between .6 and .7
betas for unintentional/unnoticed ABI breaks. |
70003ce816d7851e49ecb0cdc5137becd647ed18 957235 |
|
23-Jun-2010 |
niq |
Fix return values from socache modules when a key is not found in cache |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
4b0e00b3346b3e8fd53219d060f4cf6676847a06 923791 |
|
16-Mar-2010 |
jim |
Align "hidden" function names with external... picky, but
less confusing |
bd2f929f6974a82e4fd33e0393d2b0c91f6f033a 918655 |
|
03-Mar-2010 |
trawick |
fix these warnings (and presumably a similar one in mod_socache_dc.c):
mod_socache_shmcb.c:625: warning: no previous prototype for ‘socache_shmcb_iterate’
mod_socache_dbm.c:505: warning: no previous prototype for ‘socache_dbm_iterate’
mod_socache_memcache.c:290: warning: no previous prototype for ‘socache_mc_iterate’ |
8aac9d0a02da972909738eb84a5902199f3298cf 908168 |
|
09-Feb-2010 |
trawick |
fix additional use of "session" terminology, following r907917 |
a10d8ce69c26142323c66adaba109be1b4baa379 907917 |
|
09-Feb-2010 |
wrowe |
distcache already demonstrates sub-second resolutions, but much more
importantly, let us not introduce more Y2k38 bugs?
Changes the ->store method to take expiry as an apr_time_t, and introduce
a placeholder to implement provider-specific iterators of the current
elements of an socache store.
Cleans up confusion where expiry might be confused with a timeout-period.
Finally clean up some hUngarian noteAtion. Someones' hands need to be slapped. |
501e60e433e1914c64f642114fbb4fb9be9e2ca9 726059 |
|
12-Dec-2008 |
jorton |
socache API tweaks based on chrisd's review:
* include/ap_socache.h (ap_socache_provider_t::store): Take a pool.
(ap_socache_provider_t::retrieve): Guarantee APR_NOTFOUND for a
"not found" result.
(ap_socache_provider_t::remove): Return an apr_status_t.
* modules/cache/mod_socache_dc.c, modules/cache/mod_socache_dbm.c,
modules/cache/mod_socache_shmcb,
modules/cache/mod_socache_memcache.c: Adjust accordingly.
* modules/ssl/ssl_scache.c (ssl_scache_store): Pass pool to
sesscache->store. |
6c61d6d39916f23d49386ce9e9148f2d52f730d5 648499 |
|
16-Apr-2008 |
chrisd |
remove const on socache module declarations to avoid segfault in
ap_setup_prelinked_modules() when modules linked in at compile time |
fca945cb6bed035dcc6bbced5e327bbd4d8420ab 645978 |
|
08-Apr-2008 |
jorton |
Adjust socache init interface to take sizing hints, and namespace tag
for memcache:
* modules/cache/ap_socache.h (struct ap_socache_hints): New structure.
Change init callback to take namespace string and hints structure pointer.
* modules/cache/mod_socache_dc.c (socache_dc_init): Adjust accordingly.
* modules/cache/mod_socache_dbm.c (struct ap_socache_instance_t): Rename
timeout field to expiry_interval.
(socache_dbm_init, socache_dbm_create): Take expiry interval from
hints rather than hard-code to 30.
(socache_dbm_expire): Update for timeout field rename.
* modules/cache/mod_socache_shmcb.c (socache_shmcb_init): Adjust for
hints and namespace; adjust subcache index sizing heuristics to use
passed-in hints.
* modules/cache/mod_socache_memcache.c (struct ap_socache_instance_t):
Add tag, taglen fields.
(socache_mc_init): Store the passed-in namespace in instance
structure.
(mc_session_id2sz): Adjust to not take context, use configured
tag as string prefix, and not use a return value.
(socache_mc_store, socache_mc_retrieve, socache_mc_remove):
Adjust for mc_session_id2sz interface changes.
* modules/ssl/ssl_scache.c (ssl_scache_init): Pass namespace and hints
to socache provider init function. |
2685f3814b77577ef7b2523442dab1ca88df1e41 645924 |
|
08-Apr-2008 |
jorton |
* modules/cache/ap_socache.h: Add ap_socache_instance_t object type.
Adjust the provider interface to use this instance type throughout.
* modules/cache/mod_socache_dbm.c,
modules/cache/mod_socache_memcache.c,
modules/cache/mod_socache_shmcb.c,
modules/cache/mod_socache_dc.c: Adjust all implementations to
define the instance object in place of the "struct context", and
to take this object directly in the provider interface. |
0797faae937515a5225a36db4a1ec79480d2555c 645844 |
|
08-Apr-2008 |
jorton |
Session cache interface redesign, Part 8:
Abstract out the mod_ssl session caching interface into a separate set
of modules, mod_socache_*.
* modules/cache/ap_socache.h: New file.
* modules/cache/config.m4: Copy CHECK_DISTCACHE from ../ssl/config.m4;
add new socache modules.
* modules/cache/mod_socache_dbm.c: Copied from ../ssl/ssl_scache_dbm.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
* modules/cache/mod_socache_shmcb.c: Copied from ../ssl/ssl_scache_shmcb.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
Add SHMCB_MAX_SIZE definition, replacing APR_SHM_MAXSIZE.
* modules/cache/mod_socache_memcache.c: Copied from
../ssl/ssl_scache_memcache.c.
s/ssl_scache_/socache_/; add module structure and register_hooks.
Enable for APR-Util 1.3.x at compile-time, omitting configure-time
checks.
* modules/cache/mod_socache_dc.c: Copied from ../ssl/ssl_scache_dc.c.
s/ssl_scache_/socache_/; add module structure and register_hooks. |