]> granicus.if.org Git - apache/commit
socache API tweaks based on chrisd's review:
authorJoe Orton <jorton@apache.org>
Fri, 12 Dec 2008 15:56:15 +0000 (15:56 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 12 Dec 2008 15:56:15 +0000 (15:56 +0000)
commitaa062c60f3a57cbac481d08d66659af7a436d5fd
treeb9be0e77b56312b1c64c7dc92005b86a509ead90
parente92019fdcb2f8a05ffa88cd742f576645e9183bf
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@726059 13f79535-47bb-0310-9956-ffa450edef68
include/ap_socache.h
modules/cache/mod_socache_dbm.c
modules/cache/mod_socache_dc.c
modules/cache/mod_socache_memcache.c
modules/cache/mod_socache_shmcb.c
modules/ssl/ssl_scache.c