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

Method get_transaction_id

include/proxy/http/Http1Transaction.h:54–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52};
53
54inline int
55Http1Transaction::get_transaction_id() const
56{
57 // For HTTP/1 there is only one on-going transaction at a time per session/connection. Therefore, the transaction count can be
58 // presumed not to increase during the lifetime of a transaction, thus this function will return a consistent unique transaction
59 // identifier.
60 //
61 return _proxy_ssn->get_transact_count();
62}
63
64inline void
65Http1Transaction::reset()

Callers

nothing calls this directly

Calls 1

get_transact_countMethod · 0.45

Tested by

no test coverage detected