diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-05-06 19:41:37 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-05-06 19:41:37 -0600 |
commit | cd9317e5df6210c0530dd30ffc817dc07f9c7c0c (patch) | |
tree | cb4459787c8ae5ba92713b28475a1d31ded5efe8 /modules/caddyhttp/rewrite/caddyfile.go | |
parent | 8dbc5f70a51aa17fa1ec9c2a34361d0b5d3ccae5 (diff) |
httpcaddyfile: Fix route ordering bug
https://caddy.community/t/cant-get-simple-alias-to-work/7911/8?u=matt
This removes an optimization where we amortized path matcher decoding.
The decoded matchers were index by... position... which obviously
changes during sorting. Duh.
Anyway, sorting is sliiightly slower now but the Caddyfile is not
really CPU-sensitive, so this is fine.
Diffstat (limited to 'modules/caddyhttp/rewrite/caddyfile.go')
0 files changed, 0 insertions, 0 deletions