TSHTTPTXNPARENTPROXYSET(3ts)

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

πŸ’– TSHTTPTXNPARENTPROXYSET(3ts) πŸ’–

okay bestie, so you know how there's a whole manual page for this? yeah. it's the TSHTTPTXNPARENTPROXYSET(3ts) one, and we're gonna go through it together, no skimming, no skipping, fr fr. it's giving "short but iconic" and honestly? we love a concise queen. ✨


🌸 NAME 🌸

TSHttpTxnParentProxySet β€” the glow-up that sets the parent proxy hostname and port for a transaction. that's it, that's the whole job. she does one thing and she does it flawlessly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

the way you call her:

#include <ts/ts.h>

void TSHttpTxnParentProxySet(TSHttpTxn txnp, const char *hostname, int port)

yeah, she's a void, she returns nothing, she just does the thing. main character energy, zero need for validation. πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the tea, and it's actually important so listen up 🫢

the string hostname gets copied into the TSHttpTxn. copied!! not borrowed, not aliased, not "we'll keep a pointer to it, good luck" β€” copied. which means...

bestie, this is the part that slays: you can modify or delete the string after calling TSHttpTxnParentProxySet(). she made her own copy, she doesn't need yours anymore, you're free. go off. πŸ’–

and port is an int, obviously, because it's a port and ports are numbers. no cap.

that's literally the entire description. short king behavior. πŸ“


2026, dev@trafficserver.apache.org β€” shoutout to the Apache Traffic Server devs, we are obsessed with you, thank you for your service 🫑✨


and that's the whole page, bestie!! version 9.2, dated Feb 12, 2026, manual TSHTTPTXNPARENTPROXYSET(3ts) β€” signed, sealed, and delivered with love. now go set some parent proxies and be iconic. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from