| 46 | } |
| 47 | |
| 48 | static void |
| 49 | handle_session(TSHttpSsn ssnp, TSCont contp) |
| 50 | { |
| 51 | TSMgmtInt num_ssn = 0; |
| 52 | |
| 53 | TSStatIntIncrement(session_count_stat, 1); |
| 54 | num_ssn = TSStatIntGet(session_count_stat); |
| 55 | Dbg(dbg_ctl, "The number of sessions is %" PRId64, num_ssn); |
| 56 | TSHttpSsnHookAdd(ssnp, TS_HTTP_TXN_START_HOOK, contp); |
| 57 | } |
| 58 | |
| 59 | static int |
| 60 | ssn_handler(TSCont contp, TSEvent event, void *edata) |
no test coverage detected