Commit Graph

2 Commits

Author SHA1 Message Date
Luis Pater
60abf6ba15 fix(pluginhost): advertise Windows plugin support without cgo
- Select the plugin-capable support flag on Windows even when CGO is disabled.
- Add a regression test for Windows no-CGO build constraints.

Closes: #7977
2026-11-24 08:36:11 +08:00
Luis Pater
049ced5c3f feat(pluginhost, api): add support for "X-CPA-SUPPORT-PLUGIN" header with CGO detection
- Introduced `SupportPluginHeaderValue` to indicate CGO build status (`1` for enabled, `0` for disabled).
- Updated API response headers in `handler.go` to include "X-CPA-SUPPORT-PLUGIN".
- Added unit tests to verify proper header behavior under varying conditions.
2026-06-12 23:54:26 +08:00