Update transformations.
syntax for mod_b*.xml and mod_c*.xml
mod_cache_socache: New cache implementation backed by mod_socache
that replaces mod_mem_cache removed from httpd v2.2.
Windows build for mod_cache_socache added in r1388660
Fix the return values on mod_cache_socache's store_headers() implementation
to return APR errors codes and not DECLINED. We are committed to using this
implementation by this point, and any error should force us to stand down.
Submitted by: trawick
Reviewed by: minfrin
Apply proper APLOGNO codes for mod_cache_socache.
Added mod_cache_socache to NetWare build.
* Ensure that nkey is initialized.
mod_cache_socache: Don't clean up too soon. If we do, revalidated requests
lose their bodies.
Submitted by: minfrin, humbedooh, minfrin, gsmith, minfrin, minfrin, fuankg, rpluem, minfrin
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1477652 13f79535-47bb-0310-9956-
ffa450edef68
Project_Dep_Name mod_cache_disk
End Project Dependency
Begin Project Dependency
+ Project_Dep_Name mod_cache_socache
+ End Project Dependency
+ Begin Project Dependency
Project_Dep_Name mod_cern_meta
End Project Dependency
Begin Project Dependency
###############################################################################
+Project: "mod_cache_socache"=.\modules\cache\mod_cache_socache.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mod_cache
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_dumpio"=.\modules\debugging\mod_dumpio.dsp - Package Owner=<4>
Package=<5>
Project_Dep_Name mod_cache_disk
End Project Dependency
Begin Project Dependency
+ Project_Dep_Name mod_cache_socache
+ End Project Dependency
+ Begin Project Dependency
Project_Dep_Name mod_cern_meta
End Project Dependency
Begin Project Dependency
###############################################################################
+Project: "mod_cache_socache"=.\modules\cache\mod_cache_socache.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name libapr
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libaprutil
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name libhttpd
+ End Project Dependency
+ Begin Project Dependency
+ Project_Dep_Name mod_cache
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mod_dumpio"=.\modules\debugging\mod_dumpio.dsp - Package Owner=<4>
Package=<5>
Changes with Apache 2.4.5
+ *) mod_cache_socache: New cache implementation backed by mod_socache
+ that replaces mod_mem_cache removed from httpd v2.2. [Graham
+ Leggett]
+
*) htpasswd: Add -v option to verify a password. [Stefan Fritsch]
*) mod_proxy: Add BalancerInherit and ProxyPassInherit to control
cd modules\cache
$(MAKE) $(MAKEOPT) -f mod_cache.mak CFG="mod_cache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_cache_disk.mak CFG="mod_cache_disk - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+ $(MAKE) $(MAKEOPT) -f mod_cache_socache.mak CFG="mod_cache_socache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_file_cache.mak CFG="mod_file_cache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
$(MAKE) $(MAKEOPT) -f mod_socache_dbm.mak CFG="mod_socache_dbm - Win32 $(LONG)" RECURSE=0 $(CTARGET)
# $(MAKE) $(MAKEOPT) -f mod_socache_dc.mak CFG="mod_socache_dc - Win32 $(LONG)" RECURSE=0 $(CTARGET)
copy modules\arch\win32\$(LONG)\mod_isapi.$(src_so) "$(inst_so)" <.y
copy modules\cache\$(LONG)\mod_cache.$(src_so) "$(inst_so)" <.y
copy modules\cache\$(LONG)\mod_cache_disk.$(src_so) "$(inst_so)" <.y
+ copy modules\cache\$(LONG)\mod_cache_socache.$(src_so) "$(inst_so)" <.y
copy modules\cache\$(LONG)\mod_file_cache.$(src_so) "$(inst_so)" <.y
copy modules\cache\$(LONG)\mod_socache_dbm.$(src_so) "$(inst_so)" <.y
# copy modules\cache\$(LONG)\mod_socache_dc.$(src_so) "$(inst_so)" <.y
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- * mod_cache_socache: New cache implementation backed by mod_socache
- that replaces mod_mem_cache removed from httpd v2.2.
- trunk patches: http://svn.apache.org/r1305167
- http://svn.apache.org/r1330964
- http://svn.apache.org/r1388660
- http://svn.apache.org/r1388899
- http://svn.apache.org/r1391396
- http://svn.apache.org/r1391398
- http://svn.apache.org/r1392214
- http://svn.apache.org/r1406760
- http://svn.apache.org/r1418648
- 2.4.x patch: http://people.apache.org/~minfrin/httpd-mod_cache_socache-rollup.patch
- +1: minfrin, gsmith, jim
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
print "#LoadModule buffer_module modules/mod_buffer.so" > dstfl;
print "#LoadModule cache_module modules/mod_cache.so" > dstfl;
print "#LoadModule cache_disk_module modules/mod_cache_disk.so" > dstfl;
+ print "#LoadModule cache_socache_module modules/mod_cache_socache.so" > dstfl;
print "#LoadModule cern_meta_module modules/mod_cern_meta.so" > dstfl;
print "LoadModule cgi_module modules/mod_cgi.so" > dstfl;
print "#LoadModule charset_lite_module modules/mod_charset_lite.so" > dstfl;
<modulefile>mod_buffer.xml</modulefile>
<modulefile>mod_cache.xml</modulefile>
<modulefile>mod_cache_disk.xml</modulefile>
+ <modulefile>mod_cache_socache.xml</modulefile>
<modulefile>mod_cern_meta.xml</modulefile>
<modulefile>mod_cgi.xml</modulefile>
<modulefile>mod_cgid.xml</modulefile>
<p>The only configuration required is to select which cache provider
to use. This is the responsibility of modules using the cache, and
they enable selection using directives such as
+ <directive module="mod_cache_socache">CacheSocache</directive>,
<directive module="mod_authn_socache">AuthnCacheSOCache</directive>,
<directive module="mod_ssl">SSLSessionCache</directive>, and
<directive module="mod_ssl">SSLStaplingCache</directive>.</p>
TARGET_nlm = \
$(OBJDIR)/mod_cach.nlm \
$(OBJDIR)/cach_dsk.nlm \
+ $(OBJDIR)/cach_socache.nlm \
$(OBJDIR)/socachdbm.nlm \
$(OBJDIR)/socachmem.nlm \
$(OBJDIR)/socachshmcb.nlm \
cache_util.lo dnl
"
cache_disk_objs="mod_cache_disk.lo"
+cache_socache_objs="mod_cache_socache.lo"
case "$host" in
*os2*)
# OS/2 DLLs must resolve all symbols at build time
# and we need some from main cache module
cache_disk_objs="$cache_disk_objs mod_cache.la"
+ cache_socache_objs="$cache_socache_objs mod_cache.la"
;;
esac
APACHE_MODULE(cache, dynamic file caching. At least one storage management module (e.g. mod_cache_disk) is also necessary., $cache_objs, , most)
APACHE_MODULE(cache_disk, disk caching module, $cache_disk_objs, , most, , cache)
+APACHE_MODULE(cache_socache, shared object caching module, $cache_socache_objs, , most)
dnl
dnl APACHE_CHECK_DISTCACHE
mod_data.so 0x6F720000 0x00010000
mod_allowmethods.so 0x6F710000 0x00010000
mod_macro.so 0x6F700000 0x00010000
+mod_cache_socache.so 0x6F6F0000 0x00010000
+