hyperium / h2

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

Fix RecvStream::is_end_stream(): return true only when END_STREAM is received #810

Open eaufavor opened 3 weeks ago

eaufavor commented 3 weeks ago

Before this change, it returned true on other types of disconnection as well.

Fixes #806

Removed unused is_recv_closed().