Closed akiradeveloper closed 3 months ago
+1,
Seems to be coming from here: https://github.com/hyperium/hyper/blob/master/src/common/time.rs#L36
I think it can be fixed via https://docs.rs/hyper-util/0.1.5/hyper_util/server/conn/auto/struct.Http2Builder.html#method.timer after this line: https://github.com/hyperium/tonic/blob/da482359933f52e84c0263b28a5a83ab1efe6c33/tonic/src/transport/server/mod.rs#L550
However, I think it also requires an implementation of: https://docs.rs/hyper/1.3.1/hyper/rt/trait.Timer.html
Oh, there's one already made: https://docs.rs/hyper-util/0.1.5/hyper_util/rt/tokio/struct.TokioTimer.html
I'll raise a PR with a fix tomorrow if nobody else gets to it first.
Bug Report
Version
master branch (da482359933f52e84c0263b28a5a83ab1efe6c33)
Platform
Crates
Description
I made a reproducer.
https://github.com/akiradeveloper/tonic-hyper10-debug
the test fails with this message
I expect it to complete without error because it was okay with 0.11.0.