tower-h2
tower-h2 copied to clipboard
Error handling
Places where errors are discarded:
- [ ]
client::Background::poll: https://github.com/tower-rs/tower-h2/blob/e209b835d3815fb1dc4175ff4d95069f2d0b4822/src/client/background.rs#L55 - [ ]
Flush::poll: https://github.com/tower-rs/tower-h2/blob/e209b835d3815fb1dc4175ff4d95069f2d0b4822/src/flush.rs#L171 - [ ]
server::Background::poll: https://github.com/tower-rs/tower-h2/blob/e209b835d3815fb1dc4175ff4d95069f2d0b4822/src/server/mod.rs#L454-L455
Loss of specificity:
- [ ]
server::Background::poll: error always sends an INTERNAL_ERROR: https://github.com/tower-rs/tower-h2/blob/e209b835d3815fb1dc4175ff4d95069f2d0b4822/src/server/mod.rs#L430-L432
(N.B. that I'm still adding to the list)
Something to consider is that hyper provides most (all?) of the functionality of tower-h2, we may be able to just switch to it entirely in Linkerd2.
@seanmonstar
Maybe it's time? (cc @carllerche)
@seanmonstar I mean, my hope was that the tower-h2 impl was available to use standalone and hyper used it to provide HTTP/2.0 support. I'm not sure how possible that is.