| 39 | static bool was_conn_closed; |
| 40 | |
| 41 | int |
| 42 | ReenableSSL(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 | |
| 56 | int |
| 57 | CB_Pre_Accept(TSCont cont, TSEvent event, void *edata) |
nothing calls this directly
no test coverage detected