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

use a context when opening streams #1033

Merged
merged 1 commit into from
Dec 19, 2020
Merged

Conversation

marten-seemann
Copy link
Contributor

@@ -349,7 +349,7 @@ func (ids *IDService) identifyConn(c network.Conn, signal chan struct{}) {
}
}()

s, err = c.NewStream()
s, err = c.NewStream(context.TODO())
Copy link
Member

Choose a reason for hiding this comment

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

@aarshkshah1992 FYI. In your identify refactor, please consider passing in a context here.

@marten-seemann marten-seemann marked this pull request as ready for review December 19, 2020 05:06
@marten-seemann marten-seemann merged commit a98d3f5 into master Dec 19, 2020
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
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.

3 participants