diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-22 14:32:12 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-05-22 14:32:12 -0600 |
commit | f976451d19aea6db42d08ff8cf6e760176f94acb (patch) | |
tree | 47830639e62cd3ee0c048e217af128f6877f8fcc /modules/caddyhttp/rewrite | |
parent | 869fbac632bc098f8d40fd7b43790fadce84ed1a (diff) |
Disallow unknown fields (strict unmarshal) when loading modules
This makes it faster and easier to detect broken configurations, but
is a slight performance hit on config loads since we have to re-encode
the decoded struct back into JSON without the module name's key
Diffstat (limited to 'modules/caddyhttp/rewrite')
0 files changed, 0 insertions, 0 deletions