MCPcopy Create free account
hub / github.com/apache/trafficserver / negative_revalidating_list_cb

Function negative_revalidating_list_cb

src/proxy/http/HttpConfig.cc:730–739  ·  view source on GitHub ↗

Method of getting the status code bitset

Source from the content-addressed store, hash-verified

728
729// Method of getting the status code bitset
730static int
731negative_revalidating_list_cb(const char *name, RecDataT dtype, RecData data, void *cookie)
732{
733 HttpConfigParams *c = static_cast<HttpConfigParams *>(cookie);
734 // Signal an update if valid value arrived.
735 if (set_negative_revalidating_list(name, dtype, data, c, true)) {
736 http_config_cb(name, dtype, data, cookie);
737 }
738 return REC_ERR_OKAY;
739}
740
741// Method of loading the negative caching config bitset
742void

Callers

nothing calls this directly

Calls 2

http_config_cbFunction · 0.85

Tested by

no test coverage detected