akka-http icon indicating copy to clipboard operation
akka-http copied to clipboard

Server side request timeout support for HTTP/2

Open johanandren opened this issue 5 years ago • 2 comments
trafficstars

Request timeout support is not yet implemented in the HTTP/2 server blueprint. HTTP/1 impl is in RequestTimeoutSupport. Since the Timeout-Access is not added to the request, the directive now ignores the timeout and logs a warning withRequestTimeout was used in route however no request-timeout is set!

Not sure if there are new complications because of multiple streams in HTTP/2 compared to HTTP/1.

johanandren avatar Nov 16 '20 09:11 johanandren

Good point. Would be nice if we could reuse something from RequestTimeoutSupport but I haven't looked into it.

jrudolph avatar Nov 16 '20 10:11 jrudolph

Any progress on this issue? I would really appreciate setting request timeout dynamically for HTTP2 and akka grpc.

propi avatar Oct 03 '23 10:10 propi