Expose the HttpSM's sequence number (ID)
| 8652 | |
| 8653 | // Expose the HttpSM's sequence number (ID) |
| 8654 | uint64_t |
| 8655 | TSHttpTxnIdGet(TSHttpTxn txnp) |
| 8656 | { |
| 8657 | sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS); |
| 8658 | HttpSM *sm = reinterpret_cast<HttpSM *>(txnp); |
| 8659 | |
| 8660 | return static_cast<uint64_t>(sm->sm_id); |
| 8661 | } |
| 8662 | |
| 8663 | // Returns unique client session identifier |
| 8664 | int64_t |
no test coverage detected