tower-rs/tower-grpc

h2 is dead, long live tower-hyper

dingxiangfei2009 opened this issue · 1 comments

If I understand correctly, tower-grpc is using tower-hyper exclusively. Shall we remove these conversion functions?

h2 is dead. Long live tower-hyper.

fn from_h2_error(err: &h2::Error) -> Status {

Those are internal functions used to translate HTTP2 reset codes into gRPC statuses, and vice versa. The h2 library implements the HTTP2 protocol, and is still used inside hyper.