ap_remove_output_filter(cache->remove_url_filter);
if (cache->stale_handle
- && cache->stale_handle->cache_obj->info.control.must_revalidate) {
+ && !cache->stale_handle->cache_obj->info.control.must_revalidate) {
const char *warn_head;
/* morph the current save filter into the out filter, and serve from
if (dummy) {
cache_request_rec *cache = (cache_request_rec *) dummy;
- if (cache->stale_handle && cache->save_filter && !ap_cache_liststr(
- NULL, apr_table_get(cache->stale_handle->resp_hdrs,
- "Cache-Control"), "must-revalidate", NULL)) {
+ if (cache->stale_handle && cache->save_filter
+ && !cache->stale_handle->cache_obj->info.control.must_revalidate) {
const char *warn_head;
cache_server_conf
*conf =