summaryrefslogtreecommitdiff
path: root/modules_test.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2020-05-06 19:41:37 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2020-05-06 19:41:37 -0600
commitcd9317e5df6210c0530dd30ffc817dc07f9c7c0c (patch)
treecb4459787c8ae5ba92713b28475a1d31ded5efe8 /modules_test.go
parent8dbc5f70a51aa17fa1ec9c2a34361d0b5d3ccae5 (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_test.go')
0 files changed, 0 insertions, 0 deletions