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

Function ReenableSSL

tests/tools/plugins/ssl_hook_test.cc:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39static bool was_conn_closed;
40
41int
42ReenableSSL(TSCont cont, TSEvent /* event ATS_UNUSED */, void * /* edata ATS_UNUSED */)
43{
44 if (was_conn_closed) {
45 TSContDestroy(cont);
46 return TS_SUCCESS;
47 }
48
49 TSVConn ssl_vc = reinterpret_cast<TSVConn>(TSContDataGet(cont));
50 Dbg(dbg_ctl, "Callback reenable ssl_vc=%p", ssl_vc);
51 TSVConnReenable(ssl_vc);
52 TSContDestroy(cont);
53 return TS_SUCCESS;
54}
55
56int
57CB_Pre_Accept(TSCont cont, TSEvent event, void *edata)

Callers

nothing calls this directly

Calls 3

TSContDestroyFunction · 0.85
TSContDataGetFunction · 0.85
TSVConnReenableFunction · 0.85

Tested by

no test coverage detected