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

Function CB_close

tests/tools/plugins/ssl_hook_test.cc:126–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126int
127CB_close(TSCont cont, TSEvent event, void *edata)
128{
129 TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
130
131 int count = reinterpret_cast<intptr_t>(TSContDataGet(cont));
132
133 Dbg(dbg_ctl, "Close callback %d %p - event is %s", count, ssl_vc, event == TS_EVENT_VCONN_CLOSE ? "good" : "bad");
134
135 // All done, reactivate things
136 TSVConnReenable(ssl_vc);
137
138 was_conn_closed = true;
139
140 return TS_SUCCESS;
141}
142
143int
144CB_out_close(TSCont cont, TSEvent event, void *edata)

Callers

nothing calls this directly

Calls 2

TSContDataGetFunction · 0.85
TSVConnReenableFunction · 0.85

Tested by

no test coverage detected