Anders Kaseorg
fbac2a4dd8
Fixed #33700 -- Skipped extra resolution for successful requests not ending with /.
...
By moving a should_redirect_with_slash call out of an if block, commit
9390da7fb6e251eaa9a785692f987296cb14523f negated the performance fix
of commit 434d309ef6dbecbfd2b322d3a1da78aa5cb05fa8 (#24720 ).
Meanwhile, the logging issue #26293 that it targeted was subsequently
fixed more fully by commit 40b69607c751c4afa453edfd41d2ed155e58187e
(#26504 ), so it is no longer needed. This effectively reverts it.
This speeds up successful requests not ending with / when APPEND_SLASH
is enabled (the default, and still useful in projects with a mix of
URLs with and without trailing /). The amount of speedup varies from
about 5% in a typical project to nearly 50% on a benchmark with many
routes.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-06-02 15:15:04 +02:00
..
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-26 08:44:31 +02:00
2022-04-25 11:00:50 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-17 10:50:09 +02:00
2022-04-18 07:05:52 +02:00
2022-04-06 12:42:43 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-11 12:23:26 +01:00
2022-02-07 20:37:05 +01:00
2022-05-23 06:06:37 +02:00
2022-02-28 13:28:21 +01:00
2022-04-26 06:19:18 +02:00
2022-04-14 12:12:13 +02:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-03-08 14:50:06 +01:00
2022-05-31 08:38:00 +02:00
2022-04-14 10:43:34 +02:00
2022-05-02 10:52:33 +02:00
2022-05-25 10:53:52 +02:00
2022-05-19 09:26:48 +02:00
2022-02-07 20:37:05 +01:00
2022-06-01 10:44:34 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-16 06:17:40 +02:00
2022-03-15 16:23:55 +01:00
2022-02-07 20:37:05 +01:00
2022-05-10 11:22:23 +02:00
2022-04-18 07:05:52 +02:00
2022-02-07 20:37:05 +01:00
2022-03-09 14:50:52 +01:00
2022-02-22 10:29:38 +01:00
2022-04-12 06:24:02 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-24 06:29:50 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-05-13 12:01:07 +02:00
2022-05-20 07:11:51 +02:00
2022-05-25 10:58:48 +02:00
2022-02-22 10:29:38 +01:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-21 06:23:41 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-12 11:30:03 +02:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 10:29:38 +01:00
2022-02-16 21:09:24 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-24 06:29:50 +01:00
2022-06-01 10:11:07 +02:00
2022-02-07 20:37:05 +01:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-18 20:57:08 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 10:29:38 +01:00
2022-05-17 11:16:54 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-21 10:12:28 +02:00
2022-04-21 10:12:28 +02:00
2022-03-24 06:29:50 +01:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-06-01 19:11:26 +02:00
2022-02-15 14:38:19 +01:00
2022-03-09 14:50:52 +01:00
2022-03-24 06:29:50 +01:00
2022-05-31 06:09:39 +02:00
2022-05-03 14:22:34 +02:00
2022-02-07 20:37:05 +01:00
2022-06-01 19:10:38 +02:00
2022-02-07 20:37:05 +01:00
2022-05-10 11:22:23 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-19 07:02:22 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-19 20:36:01 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-31 10:19:54 +02:00
2022-02-22 09:16:40 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-06-02 15:15:04 +02:00
2022-02-09 12:10:26 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-06-02 12:10:27 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-22 14:13:12 +02:00
2022-05-17 11:16:54 +02:00
2022-02-07 20:37:05 +01:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-07 07:54:56 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-04-15 07:46:37 +02:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 09:16:40 +01:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-09 13:31:49 +01:00
2022-05-12 07:19:16 +02:00
2022-02-07 20:37:05 +01:00
2022-05-19 09:26:48 +02:00
2022-04-14 12:12:13 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-05-19 09:26:48 +02:00
2022-02-07 20:37:05 +01:00
2022-04-18 07:05:52 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-11 12:23:26 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-24 06:29:50 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-04 12:15:00 +02:00
2022-04-18 07:05:52 +02:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 10:29:38 +01:00
2022-04-18 07:05:52 +02:00
2022-04-14 12:12:13 +02:00
2022-05-02 06:21:18 +02:00
2022-03-23 19:33:36 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-07 07:57:14 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-22 10:29:38 +01:00
2022-02-07 20:37:05 +01:00
2022-03-24 06:29:50 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-05-26 10:39:51 +02:00
2022-04-19 12:13:27 +02:00
2022-02-07 20:37:05 +01:00
2022-05-31 06:09:39 +02:00
2022-05-02 06:21:18 +02:00
2022-04-05 08:37:28 +02:00
2022-02-07 20:37:05 +01:00
2022-05-19 10:20:51 +02:00
2022-02-07 20:37:05 +01:00
2022-04-12 13:37:44 +02:00
2022-03-29 14:47:44 +02:00
2022-04-18 07:05:52 +02:00
2022-04-18 07:05:52 +02:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-02-07 20:37:05 +01:00
2022-03-29 10:27:40 +02:00
2022-05-17 10:50:09 +02:00
2022-02-07 20:37:05 +01:00
2022-05-11 14:06:31 +02:00
2022-05-10 11:22:23 +02:00
2022-05-12 14:16:52 +02:00
2022-02-07 20:37:05 +01:00
2022-03-11 06:19:01 +01:00
2022-02-07 20:37:05 +01:00
2022-03-04 12:55:37 +01:00
2022-05-19 10:20:51 +02:00
2022-02-07 20:37:05 +01:00