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

fix: close streams when protocol limits are reached #1301

Merged
merged 3 commits into from
Jul 22, 2022

Conversation

achingbrain
Copy link
Member

@achingbrain achingbrain commented Jul 21, 2022

  • If a stream is opened that exceeds inbound/outbound limits, reset that stream (if it is incoming) or abort and throw (if it is outgoing)
  • Make the error message more helpful (say which protocol has breached the limit)
  • Increase the default stream limits so we don't trigger this by accident when a remote dials us with a protocol we don't support

- If a stream is opened that exceeds inbound/outbound limits, reset that stream (if it is incoming) or throw (if it is outgoing)
- Make the error message more helpful (say which stream has breached the limit)
- Increase the default stream limits so we don't trigger this by accident when a remote dials us with a protocol we don't support
Copy link
Member

@wemeetagain wemeetagain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@achingbrain achingbrain merged commit 3c0fb13 into master Jul 22, 2022
@achingbrain achingbrain deleted the fix/close-streams-when-limit-reached branch July 22, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants