I’m interested into something like https://expressjs.com/en/resources/middleware/timeout.html for kemal, but kind of assuming crystal http middlewares are generic for everything (including
require "http/server", amber, lucky).
has someone written one? Maybe it should be a property of
what does a semantically correct timeout middleware look like in crystal? Will it throw 408 request timeout? will the longer-than-expected request still keep running in the background or will it be terminated?