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

Function negative_caching_list_cb

src/proxy/http/HttpConfig.cc:689–698  ·  view source on GitHub ↗

Method of getting the status code bitset

Source from the content-addressed store, hash-verified

687
688// Method of getting the status code bitset
689static int
690negative_caching_list_cb(const char *name, RecDataT dtype, RecData data, void *cookie)
691{
692 HttpConfigParams *c = static_cast<HttpConfigParams *>(cookie);
693 // Signal an update if valid value arrived.
694 if (set_negative_caching_list(name, dtype, data, c, true)) {
695 http_config_cb(name, dtype, data, cookie);
696 }
697 return REC_ERR_OKAY;
698}
699
700// Method of loading the negative caching config bitset
701void

Callers

nothing calls this directly

Calls 2

http_config_cbFunction · 0.85

Tested by

no test coverage detected