Lines Matching refs:stale_handle
888 if (cache->stale_handle
889 && !cache->stale_handle->cache_obj->info.control.must_revalidate
890 && !cache->stale_handle->cache_obj->info.control.proxy_revalidate) {
896 cache->handle = cache->stale_handle;
904 r->headers_out = cache->stale_handle->resp_hdrs;
907 cache->stale_handle->resp_hdrs, "Content-Type"));
976 if (r->status == HTTP_NOT_MODIFIED && cache->stale_handle) {
978 cc_out = cache_table_getm(r->pool, cache->stale_handle->resp_hdrs,
980 pragma = cache_table_getm(r->pool, cache->stale_handle->resp_hdrs,
989 cache->stale_handle->resp_hdrs, "Content-Type"));
1065 !cache->handle && !cache->stale_handle) {
1119 else if (cache->stale_handle
1123 && date < cache->stale_handle->cache_obj->info.date) {
1138 else if (r->status == HTTP_NOT_MODIFIED && cache->stale_handle) {
1139 apr_table_t *left = cache->stale_handle->resp_hdrs;
1186 if (reason && r->status == HTTP_NOT_MODIFIED && cache->stale_handle) {
1294 * - cache->stale_handle != NULL. In this case there is a stale
1303 if (cache->stale_handle) {
1306 cache->handle = cache->stale_handle;
1312 cache->provider->remove_entity(cache->stale_handle);
1314 cache->stale_handle = NULL;
1451 if (cache->stale_handle) {
1487 if (cache->stale_handle) {
1543 rv = cache->provider->remove_url(cache->stale_handle, r);
1863 if (cache->stale_handle && cache->save_filter
1864 && !cache->stale_handle->cache_obj->info.control.must_revalidate
1865 && !cache->stale_handle->cache_obj->info.control.proxy_revalidate
1866 && !cache->stale_handle->cache_obj->info.control.s_maxage) {
1876 cache->handle = cache->stale_handle;
1886 r->err_headers_out = cache->stale_handle->resp_hdrs;