hyper
hyper copied to clipboard
Automatically retry streams
GOAWAY frames carry a last_stream_id
field that tells us which was the last stream that was definitely processed. I'd like to be able to automatically attempt to reconnect and resend streams that weren't processed.
I was looking at this, and retrying a connection would be something that a higher-level library would handle rather than hyper?
The answer is probably, but I'm not sure. What's your opinion here @fredthomsen?
I can see the dilemma here. Yes, I think that this should not be something that hyper
takes on, considering how httplib
and http.client
deal with this in the HTTP/1.1 world.
However, then there must be some way to indicate to the higher level module which streams were not processed and the ability to move those streams and their associated data from one connection to another.