-
Notifications
You must be signed in to change notification settings - Fork 184
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
Allow customizing the quinn::TransportConfig
in iroh::node::Builder
#2592
Comments
## Description This removes the max streams in the builder. This makes little sense when users are allowed to create their custom protocol. right now both uni and bidirectional streams default to 100 max, which is reasonable for now. We should allow fully customising the TransportConfig later. ## Breaking Changes I don't think this counts as a breaking change. If we want to lower one of these later it would be, but we're probably fine with 100 by default? ## Notes & open questions See #2592 ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [x] All breaking changes documented.
#2593 fixes the first point, but does not yet allow for a custom |
quinn::TransportConfig
in iroh::node::Builder
We have Lines 214 to 225 in 1d3f3fa
Is there something else missing? |
Oh, I missed that. In that case we can probably close this, right? |
This is in iroh-net. The issue is about the I'm not really sure about what should be in the |
that makes sense, thanks! |
We could also allow passing an |
The
iroh::node::Builder
sets themax_concurrent_uni_streams
to 0 (i.e. none) andmax_concurrent_bidi_streams
to 10 (i.e. barely any).Furthermore it does not allow customising these values.
TransportConfig
to be used.The text was updated successfully, but these errors were encountered: