akka-http
akka-http copied to clipboard
Server side request timeout support for HTTP/2
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.
Good point. Would be nice if we could reuse something from RequestTimeoutSupport but I haven't looked into it.
Any progress on this issue? I would really appreciate setting request timeout dynamically for HTTP2 and akka grpc.