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

Function TSHttpTxnServerVConnGet

src/api/InkAPI.cc:3764–3777  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3762}
3763
3764TSVConn
3765TSHttpTxnServerVConnGet(TSHttpTxn txnp)
3766{
3767 TSVConn vconn = nullptr;
3768 sdk_assert(sdk_sanity_check_txn(txnp) == TS_SUCCESS);
3769 HttpSM *sm = reinterpret_cast<HttpSM *>(txnp);
3770 if (sm != nullptr) {
3771 ProxyTransaction *st = sm->get_server_txn();
3772 if (st != nullptr) {
3773 vconn = reinterpret_cast<TSVConn>(st->get_netvc());
3774 }
3775 }
3776 return vconn;
3777}
3778
3779class TSHttpSsnCallback : public Continuation
3780{

Callers 2

ssl_outbound_contextMethod · 0.85

Calls 3

sdk_sanity_check_txnFunction · 0.85
get_server_txnMethod · 0.80
get_netvcMethod · 0.45

Tested by

no test coverage detected