hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Automatically retry streams

Open Lukasa opened this issue 10 years ago • 3 comments

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.

Lukasa avatar May 06 '14 08:05 Lukasa

I was looking at this, and retrying a connection would be something that a higher-level library would handle rather than hyper?

fredthomsen avatar Jun 13 '16 02:06 fredthomsen

The answer is probably, but I'm not sure. What's your opinion here @fredthomsen?

Lukasa avatar Jun 13 '16 15:06 Lukasa

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.

fredthomsen avatar Jun 14 '16 13:06 fredthomsen