TSHTTPTXNCNTL(3ts)

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

✨ TSHTTPTXNCNTL πŸ’…

okay so bestie, welcome to TSHTTPTXNCNTL from the Apache Traffic Server manual, section 3ts β€” yes it's a library function page, no it's not boring, we're getting into the guts of an HTTP transaction and I'm obsessed 🫢

This is the TSHttpTxnCntl API function, and fr fr it's the lil remote control for the control mechanisms living inside your HTTP transaction. Toggle city. πŸŽ›οΈ


🌸 SYNOPSIS 🌸

#include <ts/ts.h>

bool TSHttpTxnCntlGet(TSHttpTxn txnp, TSHttpCntlType ctrl)

TSReturnCode TSHttpTxnCntlSet(TSHttpTxn txnp, TSHttpCntlType cntl, bool data)

Two lil functions, one vibe: get the status, set the status. That's it, that's the whole thing πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

So like. This is where you Set or Get the status of the various control mechanisms chillin' inside the HTTP transaction. It's giving light switch energy ✨

The control type you pass in has to be one of the values identified by the enumeration TSHttpCntlType β€” no rogue strings, no improvising, we stay on script bestie πŸ™ˆ

The values themselves are boolean values: true and false.

  • true β†’ turns the transaction feature ON πŸ”₯
  • false β†’ turns it OFF πŸ’€

That's the whole deal. One boolean, one feature, one extremely slay transaction control state. Periodt. πŸ‘‘


2026, dev@trafficserver.apache.org


and that's the page!! 🌈 this lil gem is from Apache Traffic Server version 9.2, dated Feb 12, 2026, and it's living its best life under TSHTTPTXNCNTL(3ts) in section 3ts πŸ’œ go forth and toggle responsibly, mwah 🧚✨

πŸ“¦ where this page comes from