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

Function TSHttpTxnSsnGet

src/api/InkAPI.cc:3866–3873  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3864}
3865
3866TSHttpSsn
3867TSHttpTxnSsnGet(TSHttpTxn txnp)
3868{
3869 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
3870
3871 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
3872 return reinterpret_cast<TSHttpSsn>(sm->get_ua_txn() ? reinterpret_cast<TSHttpSsn>(sm->get_ua_txn()->get_proxy_ssn()) : nullptr);
3873}
3874
3875TSReturnCode
3876TSHttpTxnClientReqGet(TSHttpTxn txnp, TSMBuffer *bufp, TSMLoc *obj)

Callers 15

TSHttpTxnClientAddrGetFunction · 0.85
TSHttpTxnIncomingAddrGetFunction · 0.85
TSHttpTxnClientFdGetFunction · 0.85
TSHttpTxnIsInternalFunction · 0.85
ssn_handlerFunction · 0.85
cont_globalFunction · 0.85
cont_remapFunction · 0.85
transactionContFuncFunction · 0.85
sessionContFuncFunction · 0.85
globalContFuncFunction · 0.85
handle_orderFunction · 0.85

Calls 3

sdk_sanity_check_txnFunction · 0.85
get_ua_txnMethod · 0.80
get_proxy_ssnMethod · 0.80

Tested by 4

ssn_handlerFunction · 0.68
transactionContFuncFunction · 0.68
sessionContFuncFunction · 0.68
globalContFuncFunction · 0.68