to a crash.
PR: 43724
Submitted by: ylavic
Reviewed by: covener, wrowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@
1750846 13f79535-47bb-0310-9956-
ffa450edef68
to avoid reusing it should the close be effective after some new request
is ready to be sent. [Yann Ylavic]
+ *) mod_mem_cache: Fix concurrent removal of stale entries which could lead
+ to a crash. PR 43724. [Yann Ylavic]
+
*) mime.types: add common extension "m4a" for MPEG 4 Audio.
PR 57895 [Dylan Millikin <dylan.millikin gmail.com>]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_mem_cache: Fix concurrent removal of stale entries which could lead
- to a crash. PR 43724.
- trunk patch: not applicable (2.2.x only)
- 2.2.x patch: http://home.apache.org/~ylavic/patches/httpd-2.2.x-mod_mem_cache-pr43724.patch
- +1: ylavic, covener, wrowe
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
}
obj = h->cache_obj;
- if (obj) {
+ if (obj && cache_find(sconf->cache_cache, obj->key) == obj) {
cache_remove(sconf->cache_cache, obj);
/* For performance, cleanup cache object after releasing the lock */
cleanup = !apr_atomic_dec32(&obj->refcount);