-
Notifications
You must be signed in to change notification settings - Fork 1k
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 configuration of outbound substream in OneShotHandler #1521
Conversation
c2d649e
to
c2e9397
Compare
ff3c88c
to
80ac068
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of nits
80ac068
to
93f08c7
Compare
I may be blind, but how does one now actually configure a |
Moreover, the |
When opening a new outbound substream in
OneShotHandler
, you should be able to specify the timeout for the substream.Follow up of discussion here: #1512
Do you like this solution or do you prefer the
.with_substream_timeout(timeout)
way?