Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tracking orphaned stream ids #305

Closed
psarna opened this issue Sep 29, 2021 · 0 comments · Fixed by #367
Closed

Implement tracking orphaned stream ids #305

psarna opened this issue Sep 29, 2021 · 0 comments · Fixed by #367
Assignees

Comments

@psarna
Copy link
Contributor

psarna commented Sep 29, 2021

If a server never responds for a given stream id, we might run out of all ids, which makes the connection defunct. We should track the number of ids that got orphaned - i.e. client-side timeout was already fired for a request, but we didn't get a response from it yet, so we can't release the stream id. Once we hit a threshold for orphaned ids, the connection should be closed and reinstantiated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant