MCPcopy Create free account
hub / github.com/apache/trafficserver / TSHttpTxnIdGet

Function TSHttpTxnIdGet

src/api/InkAPI.cc:8654–8661  ·  view source on GitHub ↗

Expose the HttpSM's sequence number (ID)

Source from the content-addressed store, hash-verified

8652
8653// Expose the HttpSM's sequence number (ID)
8654uint64_t
8655TSHttpTxnIdGet(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
8664int64_t

Callers 10

_getMethod · 0.85
handle_orderFunction · 0.85
InjectTxnUuidHeaderFunction · 0.85
append_valueMethod · 0.85
evalMethod · 0.85
getPropertyMethod · 0.85
CB_Read_Request_HdrFunction · 0.85
next_traceFunction · 0.85
create_traceFunction · 0.85
ts_lua_http_get_idFunction · 0.85

Calls 1

sdk_sanity_check_txnFunction · 0.85

Tested by

no test coverage detected