apache / apache/trafficserver

ATS plugins are too tolerant of loading bad configs

Open
#12,660 1 comment 0 reactions 0 assignees View on GitHub
Bug header_rewrite Plugins regex_remap
Dominant language
C++
Stars
2k
Forks
874
Avg merge
6d 15h
Merged PRs (30d)
46

Description

With ATS plugins like header rewrite the loaders themselves are very tolerant of errors inside the config files themselves, typically only blocking ATS starts and reloads when config files are missing. This is done by returning TS_ERROR from TSRemapNewInstance.

Example of header rewrite that should block reload:

```
# mistype of condition:
cond %{PSEUDO__REMAP_HOOK}
```

This might require further investigation of what might be required.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.