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

Function CB_out_close

tests/tools/plugins/ssl_hook_test.cc:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143int
144CB_out_close(TSCont cont, TSEvent event, void *edata)
145{
146 TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
147
148 int count = reinterpret_cast<intptr_t>(TSContDataGet(cont));
149
150 Dbg(dbg_ctl, "Outbound close callback %d %p - event is %s", count, ssl_vc,
151 event == TS_EVENT_VCONN_OUTBOUND_CLOSE ? "good" : "bad");
152
153 // All done, reactivate things
154 TSVConnReenable(ssl_vc);
155 return TS_SUCCESS;
156}
157int
158CB_Client_Hello_Immediate(TSCont cont, TSEvent /* event ATS_UNUSED */, void *edata)
159{

Callers

nothing calls this directly

Calls 2

TSContDataGetFunction · 0.85
TSVConnReenableFunction · 0.85

Tested by

no test coverage detected