TSPLUGINDSORELOADENABLE(3ts)

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

πŸ’– TSPLUGINDSORELOADENABLE πŸ’–

okay bestie, welcome to the Apache Traffic Server manual page for TSPluginDSOReloadEnable β€” yes that name is a mouthful, no we are not changing it, it's iconic in its own way. this is a 3ts page, meaning it's a library function, not a command you type in your shell. sit down, grab a boba, let's get into it. πŸ§‹βœ¨


✨ NAME ✨

TSPluginDSOReloadEnable β€” this one's your little remote control for deciding whether this plugin gets to participate in the remap dynamic reload process (remap.config). basically: do you want in on the glow-up, or are you sitting this one out? πŸ’…


🌸 SYNOPSIS 🌸

#include <ts/ts.h>

TSReturnCode TSPluginDSOReloadEnable(int enabled)

look at that. short. sweet. one int. we love a minimal signature. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: when the same Dynamic Shared Object (DSO) is also being used as a remap plugin, this function gives you the power to programmatically enable or disable plugin dynamic reloading. like, you're the one holding the aux cord now. 🎧

and the tea is β€” this overrides proxy.config.plugin.dynamic_reload_mode. yeah, it said what it said. your function call > the config file. main character energy fr fr. πŸ‘‘

⚠️ WARNING: This function should be called from within TSPluginInit(). like, that's the only place it wants to be called from. do not freestyle this one, bestie, it will not go well. 😭

the function will return TS_ERROR in any of the following cases:

  • the function was not called from within TSPluginInit() β€” you ignored the warning, and now you're paying for it πŸ’€
  • TS is unable to get the canonical path from the plugin's path β€” the path said "not today" πŸ™ˆ

so yeah, two ways to get TS_ERROR. check your call site and check your paths. that's the whole vibe check. βœ…


πŸ‘‘ SEE ALSO πŸ‘‘

  • TSAPI(3ts) β€” the whole friend group, go say hi 🫢

2026, dev@trafficserver.apache.org β€” the legends themselves πŸ’œ


okay that's the page!! no cap, you now know everything this function has to tell you, and you didn't even have to read boring manpage prose to get it. slay. πŸ’…βœ¨

this has been the Apache Traffic Server 9.2 manual, dated Feb 12, 2026. tysm for reading, ily, go write some bomb plugins πŸŽ€πŸ¦‹πŸŒΈ
πŸ“¦ where this page comes from