summaryrefslogtreecommitdiff
path: root/include/ap_socache.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling.Graham Leggett2012-02-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1242967 13f79535-47bb-0310-9956-ffa450edef68
* * include/: Various doxy markup tweaks.Joe Orton2011-12-071-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1211364 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-231-10/+10
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
* Introduce an socache iterator 'userctx' for the user to track theWilliam A. Rowe Jr2010-06-261-13/+16
| | | | | | | | | context of their own callback. Breaks API, but we probably wanted an mmn reset between .6 and .7 betas for unintentional/unnoticed ABI breaks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@958157 13f79535-47bb-0310-9956-ffa450edef68
* fix typo in commentJeff Trawick2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@908164 13f79535-47bb-0310-9956-ffa450edef68
* Illustrate an ->iterator() implementation for mod_socache_shmcb.William A. Rowe Jr2010-02-091-3/+6
| | | | | | | Clarify that the iterator aught will make the users' life easier by appending trailing \0 null chars. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907937 13f79535-47bb-0310-9956-ffa450edef68
* The iterator data is not volatile, data aught to be constWilliam A. Rowe Jr2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907929 13f79535-47bb-0310-9956-ffa450edef68
* The iterator data is not volatile, datalen by value is just fineWilliam A. Rowe Jr2010-02-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907928 13f79535-47bb-0310-9956-ffa450edef68
* Let us be clearer about suggestions vs. necessityWilliam A. Rowe Jr2010-02-091-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907927 13f79535-47bb-0310-9956-ffa450edef68
* distcache already demonstrates sub-second resolutions, but much moreWilliam A. Rowe Jr2010-02-091-4/+44
| | | | | | | | | | | | | | 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@907917 13f79535-47bb-0310-9956-ffa450edef68
* socache API tweaks based on chrisd's review:Joe Orton2008-12-121-4/+9
| | | | | | | | | | | | | | | | | * 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726059 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_socache.h: Use C++ safety wrappers, and rename ->deleteJoe Orton2008-12-091-2/+10
| | | | | | | | | to ->remove since the former is a C++ reserved word. * modules/ssl/ssl_scache.c (ssl_scache_remove): Update accordingly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724745 13f79535-47bb-0310-9956-ffa450edef68
* * include/ap_socache.h: Define AP_SOCACHE_DEFAULT_PROVIDER as aJoe Orton2008-12-091-0/+3
| | | | | | | | | | | default provider name, to allow consumers to use a default provider if not configured otherwise. * modules/cache/mod_socache_shmcb.c (register_hooks): Register shmcb as the default provider. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724723 13f79535-47bb-0310-9956-ffa450edef68
* Reduce config overhead for use of socache interface by allowingJoe Orton2008-12-091-7/+12
| | | | | | | | | | | | | | | | | | | default paths to be used if none are configured: * include/ap_socache.h (ap_socache_provider_t::create): Allow arg to be NULL to force use of defaults. (ap_socache_provider_t::init): Rename 'namespace' parameter to 'cname' and restrict to allow use in filesystem paths. * modules/cache/mod_socache_dbm.c (socache_dbm_create, socache_dbm_init), modules/cache/mod_socache_shmcb.c (socache_shmcb_create, socache_shmcb_init): Default to use of runtimedir-relative paths if no explicit path is configured. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@724682 13f79535-47bb-0310-9956-ffa450edef68
* ap_ namespace, a dead giveaway that this information should resideWilliam A. Rowe Jr2008-06-071-0/+159
in the general include\ directory git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@664232 13f79535-47bb-0310-9956-ffa450edef68