hyperium / h2

HTTP 2.0 client & server implementation for Rust.
MIT License
1.35k stars 270 forks source link

Expose more h2 error kinds #574

Closed eaufavor closed 1 year ago

eaufavor commented 2 years ago

When handling incoming h2 errors, typically we pay attention to 3 types of them: IO, GOAWAY and RST_STREAM. This change adds the other 2 besides is_io() so that the error can be programatically handled.

eaufavor commented 1 year ago

593 and #618 covered this change.