hyperium / h2

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

how reconnect when server fail? #545

Closed cssivision closed 3 years ago

cssivision commented 3 years ago

when server fail unexpected and restart again, send_request will always return error, is there any way to reconnect? or we can just create a new h2 connection. if we create new h2 connection, how to discriminate normal error from this error(server fail).