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

Method file_update_handler

src/proxy/ReverseProxy.cc:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113/** Used to read the remap.config file after the manager signals a change. */
114struct UR_UpdateContinuation : public Continuation {
115 int
116 file_update_handler(int /* etype ATS_UNUSED */, void * /* data ATS_UNUSED */)
117 {
118 static_cast<void>(reloadUrlRewrite());
119 delete this;
120 return EVENT_DONE;
121 }
122 UR_UpdateContinuation(Ptr<ProxyMutex> &m) : Continuation(m) { SET_HANDLER(&UR_UpdateContinuation::file_update_handler); }
123};
124

Callers

nothing calls this directly

Calls 1

reloadUrlRewriteFunction · 0.85

Tested by

no test coverage detected