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

Function TSHttpTxnServerSsnTransactionCount

src/api/InkAPI.cc:3924–3932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3922}
3923
3924int
3925TSHttpTxnServerSsnTransactionCount(TSHttpTxn txnp)
3926{
3927 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
3928
3929 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
3930 // Any value greater than zero indicates connection reuse.
3931 return sm->server_transact_count;
3932}
3933
3934// Shortcut to just get the URL.
3935// The caller is responsible to free memory that is allocated for the string

Callers 6

CountMethod · 0.85
evalMethod · 0.85
append_valueMethod · 0.85
get_outbound_txn_countFunction · 0.85

Calls 1

sdk_sanity_check_txnFunction · 0.85

Tested by 1