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

Function CB_Pre_Accept

tests/tools/plugins/ssl_hook_test.cc:56–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56int
57CB_Pre_Accept(TSCont cont, TSEvent event, void *edata)
58{
59 TSVConn ssl_vc = reinterpret_cast<TSVConn>(edata);
60
61 int count = reinterpret_cast<intptr_t>(TSContDataGet(cont));
62
63 Dbg(dbg_ctl, "Pre accept callback %d %p - event is %s", count, ssl_vc, event == TS_EVENT_VCONN_START ? "good" : "bad");
64
65 // All done, reactivate things
66 TSVConnReenable(ssl_vc);
67 return TS_SUCCESS;
68}
69
70int
71CB_Pre_Accept_Delay(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