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

Function http_config_cb

src/proxy/http/HttpConfig.cc:200–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200int
201http_config_cb(const char * /* name ATS_UNUSED */, RecDataT /* data_type ATS_UNUSED */, RecData /* data ATS_UNUSED */,
202 void * /* cookie ATS_UNUSED */)
203{
204 ink_atomic_increment(&http_config_changes, 1);
205
206 INK_MEMORY_BARRIER;
207
208 eventProcessor.schedule_in(http_config_cont, HRTIME_SECONDS(1), ET_CALL);
209 return 0;
210}
211
212// [amc] Not sure which is uglier, this switch or having a micro-function for each var.
213// Oh, how I long for when we can use C++eleventy lambdas without compiler problems!

Callers 4

http_insert_forwarded_cbFunction · 0.85
negative_caching_list_cbFunction · 0.85

Calls 2

ink_atomic_incrementFunction · 0.85
schedule_inMethod · 0.45

Tested by

no test coverage detected