1
0
mirror of synced 2026-01-10 18:02:53 -05:00
Files
docs/middleware
James M. Greene fd7d0eeb1a Add timeout and abort middleware and processing halts (#18177)
* Add middleware to timeout requests after a period

* Add halt-on-dropped-connection middleware to stop the middleware processing stack if the connection was already dropped

* Add a few strategic bail-out spots for dropped connections during the render-page middleware

* Handle 404s and HEAD requests earlier in the page rendering flow

* Add a few more strategic bail-out spots for dropped connections during the render-page middleware

* Add middleware to notice aborted requests

* Add a check for aborted requests into the isConnectionDropped logic

* Reformat comment for consistency

* Handle aborted requests correctly in the error handler

* Explicit returns for consistency
2021-03-09 19:14:02 +00:00
..
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2021-02-12 10:25:45 -08:00
2020-09-28 09:44:14 -07:00
2020-11-13 14:31:59 -05:00
2020-09-27 14:10:11 +02:00
2021-01-25 16:35:15 -05:00
2020-09-27 14:10:11 +02:00
2020-12-17 11:57:18 -08:00
2020-11-19 13:06:20 -05:00

Middleware

Each file in this directory exports an Express Middleware function.

For more info, see https://expressjs.com/en/guide/using-middleware.html

Subdirectories

There are subdirectories for different types of middleware: