| 124 | } |
| 125 | |
| 126 | int |
| 127 | CB_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 | |
| 143 | int |
| 144 | CB_out_close(TSCont cont, TSEvent event, void *edata) |
nothing calls this directly
no test coverage detected