-
Notifications
You must be signed in to change notification settings - Fork 436
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
feat: mark connections with limits as transient #1890
Merged
Merged
Commits on Jul 25, 2023
-
feat: mark connections with limits as limited
Some connections have resources limits imposed on them, such as circuit relay connections. When this is the case, the connection will have a `.limited` boolean property set to true. By default any attempt to run a protocol over a limited connection will throw (outgoing) or be reset (incoming), this is to prevent, for example, bitswap exceeding the connection transfer limit and causing the connection to be closed by the relay server when it should be reserved for the WebRTC SDP exchange. Protocols can opt-in to being run over limited connections by specifying a flag during `libp2p.handle` (incoming) and `connection.openStream` (outgoing).
Configuration menu - View commit details
-
Copy full SHA for 587e876 - Browse repository at this point
Copy the full SHA 587e876View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b18228 - Browse repository at this point
Copy the full SHA 5b18228View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6511308 - Browse repository at this point
Copy the full SHA 6511308View commit details
Commits on Jul 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 740fb2f - Browse repository at this point
Copy the full SHA 740fb2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7df2cbe - Browse repository at this point
Copy the full SHA 7df2cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 155a69d - Browse repository at this point
Copy the full SHA 155a69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc62809 - Browse repository at this point
Copy the full SHA fc62809View commit details -
Configuration menu - View commit details
-
Copy full SHA for 238fc2f - Browse repository at this point
Copy the full SHA 238fc2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 987c34c - Browse repository at this point
Copy the full SHA 987c34cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.