zeripath 47fd156936
Use route rather than use thus reducing the number of stack frames (#15301)
Since the move to Chi the number of stack frames has proliferated somewhat catastrophically and we're up to 96 frames with multiple tests of the url outside of a trie which is inefficient.

This PR reduces the number of stack frames by 6 through careful use of Route, moves Captcha into its own router so that it only fires on Captcha routes, similarly for avatars and repo-avatars.

The robots.txt, / and apple-touch-icon.png are moved out of requiring Contexter.

It moves access logger higher in the stack frame because there is no reason why it can't be higher.

Extract from #15186
Contains #15292
2021-05-04 22:48:31 +01:00
..
2021-04-01 19:41:09 +02:00
2021-04-14 14:02:12 +02:00
2021-01-28 19:08:11 +01:00
2021-04-19 18:25:08 -04:00
2021-04-19 18:25:08 -04:00
2021-03-16 00:20:05 +01:00
2020-04-05 07:20:50 +01:00
2021-04-17 10:27:25 +01:00
2020-10-02 23:37:53 -04:00
2021-04-12 10:49:26 -04:00
2021-04-25 21:48:12 +03:00
2021-04-21 18:31:59 +02:00
2021-04-19 18:25:08 -04:00
2018-11-04 22:20:00 -05:00
2021-05-03 13:24:24 -04:00
2021-04-19 18:25:08 -04:00
2019-06-12 15:41:28 -04:00
2020-04-05 07:20:50 +01:00
2021-01-26 16:36:53 +01:00