-
Notifications
You must be signed in to change notification settings - Fork 959
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
Restore RequestResponse::throttled
.
#1715
Conversation
77ddfb3
to
94f5671
Compare
87a0f25
to
fc692f1
Compare
Would you mind rebasing or merging |
Fix the budget calculation using `ProtocolsHandler::InboundOpenInfo`.
Create events when connection closed.
067c3d3
to
b88141b
Compare
Thinking a little more about the approach here I think we have a race condition w.r.t. timeouts and errors. If the sender of a request times out or errors earlier than the receiver it grants itself another request. Should that request reach the receiver before it has detected the timeout or error and likewise allowed another request from the sender, it would potentially generate a Without a way to give credit to a remote that is independent of receiving a request, i.e. being able to send unidirectional and unsolicited credit grants (which allows the receiver to retry sending the credit after a timeout or error) there is always a need for both ends to adjust their credit views which leads to inconsistencies as described above. |
Ultimately superseded by #1726. |
Fixes #1706.
Continuation of #1714.