TSPLUGINDSORELOADENABLE(3ts)
π 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 π«Ά
π COPYRIGHT π
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
- 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