TSVCONN(3ts)
π TSVCONN β bestie edition π
okay so this is the TSVConn page from the 3ts manual, and it's literally all about grabbing a TSVConn (that's a NetVconnection, the actual connection object) out of either a TSHttpSsn (session) or a TSHttpTxn (transaction). Apache Traffic Server hive, rise up πβ¨
β¨ SYNOPSIS β¨
#include <ts/ts.h>
TSVConn TSHttpSsnClientVConnGet(TSHttpSsn ssnp)
TSVConn TSHttpSsnServerVConnGet(TSHttpSsn ssnp)
TSVConn TSHttpTxnServerVConnGet(TSHttpTxn txnp)
πΈ DESCRIPTION πΈ
These APIs are your little matchmakers π«Ά β they let you, the developer, get the NetVconnection (which is what a TSVConn is, periodt) out of either the Http session (TSHttpSsn) object or the transaction (TSHttpTxn) object.
Let's break it down bestie:
TSHttpSsnClientVConnGet()β hands you theTSVConnthat's associated with the client sideTSHttpSsnobject. it's giving "who's on the other end of this session π"TSHttpSsnServerVConnGet()β same deal, same energy, but it's the one associated with the server sideTSHttpSsn.TSHttpTxnServerVConnGet()β and this one returns the same thing, except associated with aTSHttpTxninstead.
three little functions, three little vibes, all just fetching you a TSVConn from wherever it's living. iconic honestly π
π COPYRIGHT π
2026, dev@trafficserver.apache.org
and that's the whole page, no cap π§β¨ this was Apache Traffic Server, version 9.2, dated Feb 12, 2026 β thanks for coming to my TED talk, go get yourself a TSVConn ππ¦
π¦ where this page comes from
- ubuntu noble: trafficserver-dev 9.2.3+ds-1+deb12u1ubuntu0.1 Β· Apache-2.0
- ubuntu questing: trafficserver-dev 9.2.5+ds-1ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms