TSPluginDSOReloadEnable(3ts)

TSPluginDSOReloadEnable3ts

Control whether this plugin will take part in the remap dynamic reload process (remap.config)

Usage

#include <ts/ts.h>
TSReturnCode TSPluginDSOReloadEnable(int enabled)

Overview

This function provides the ability to enable/disable programmatically the plugin dynamic reloading when the same Dynamic Shared Object (DSO) is also used as a remap plugin. This overrides proxy.config.plugin.dynamic_reload_mode.

WARNING:

This function should be called from within TSPluginInit()

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

The function was not called from within TSPluginInit()

•

TS is unable to get the canonical path from the plugin's path.

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.