This is kinda horky, we have to use TSServerState instead of HttpTransact::ServerState_t, otherwise we have a prototype mismatch in the public ts/ts.h interfaces. */
| 5268 | HttpTransact::ServerState_t, otherwise we have a prototype |
| 5269 | mismatch in the public ts/ts.h interfaces. */ |
| 5270 | TSServerState |
| 5271 | TSHttpTxnServerStateGet(TSHttpTxn txnp) |
| 5272 | { |
| 5273 | sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS); |
| 5274 | |
| 5275 | HttpTransact::State *s = &((reinterpret_cast<HttpSM *>(txnp))->t_state); |
| 5276 | return static_cast<TSServerState>(s->current.state); |
| 5277 | } |
| 5278 | |
| 5279 | void |
| 5280 | TSHttpTxnDebugSet(TSHttpTxn txnp, int on) |
no test coverage detected