MCPcopy Create free account
hub / github.com/apache/httpd / invalidate_entity

Function invalidate_entity

modules/cache/mod_cache_disk.c:1371–1384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369}
1370
1371static apr_status_t invalidate_entity(cache_handle_t *h, request_rec *r)
1372{
1373 apr_status_t rv;
1374
1375 rv = recall_headers(h, r);
1376 if (rv != APR_SUCCESS) {
1377 return rv;
1378 }
1379
1380 /* mark the entity as invalidated */
1381 h->cache_obj->info.control.invalidated = 1;
1382
1383 return commit_entity(h, r);
1384}
1385
1386static void *create_dir_config(apr_pool_t *p, char *dummy)
1387{

Callers

nothing calls this directly

Calls 2

recall_headersFunction · 0.70
commit_entityFunction · 0.70

Tested by

no test coverage detected