TSVCONNTUNNEL(3ts)

πŸ“¦
version 9.2.5 Β· 4 versions
, in ubuntu noble, ubuntu questing

πŸ’– TSVCONNTUNNEL πŸ’–

okay bestie, so this is a page from the Apache Traffic Server manual β€” the 3ts one, that's the section for Traffic Server library calls. This one's all about TSVConnTunnel, and honestly? It's giving "short but mighty." ✨


🌸 NAME 🌸

TSVConnTunnel β€” the TSVConnTunnel API function. that's it, that's the whole name section, she's brief and she knows it πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

like, here's the vibe you need to pull in first:

#include <ts/ts.h>

TSReturnCode TSVConnTunnel(TSVConn svc)

one include, one function, no drama. we love a low-maintenance queen πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the whole entire point of this function: it takes the SSL connection svc and sets it to convert to a blind tunnel. that's the job. that's what she does. 🫢

and the tea is when you're allowed to call her β€” only from one of these hooks:

  • TS_VCONN_START_HOOK
  • TS_SSL_SERVERNAME_HOOK
  • TS_SSL_SNI_HOOK / TS_SSL_CERT_HOOK
ngl bestie, that's a pretty exclusive guest list πŸ™ˆ β€” call it anywhere else and you're on your own. the original doesn't say what happens, and I'm not about to make stuff up, so just... stay in the listed hooks, mkay?

so yeah, once you're in one of those hooks, hand her the connection and she goes full blind-tunnel mode. iconic behaviour, no notes. πŸ”₯


Copyright 2026, dev@trafficserver.apache.org πŸ’œ


and that's the whole page, bestie β€” no cap, she's a short one. this was pulled from the 9.2 manual, dated Feb 12, 2026, and honestly? she ate. go tunnel something. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from