Expand description
Tiny per-request timeout middleware.
When a request takes longer than Timeout::duration to produce a
response, the handler future is dropped and the client gets a
504 Gateway Timeout. The work the handler started may still finish
in the background until the next .await point — that’s a property
of cooperative scheduling, not of this middleware.