---
name: "TSPluginDSOReloadEnable"
section: "3ts"
platform: "linux"
package: "trafficserver-dev"
version: "9.2.5+ds-0+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/TSPluginDSOReloadEnable"
---

# TSPluginDSOReloadEnable(3ts)

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

## NAME

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

## SYNOPSIS

```
#include <ts/ts.h>
```

- ***TSReturnCode* TSPluginDSOReloadEnable(int enabled)**

  ## DESCRIPTION

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.

## SEE ALSO

**[TSAPI(3ts)](/TSAPI/3ts.md)**

## COPYRIGHT

2026, dev@trafficserver.apache.org
