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

routed: respect force direct dial context #1665

Merged
merged 2 commits into from
Aug 9, 2022

Conversation

corverroos
Copy link
Contributor

@corverroos corverroos commented Aug 2, 2022

Fixes #1664

@@ -242,7 +242,7 @@ func (s *Service) handleNewStream(str network.Stream) {
rtt, addrs, err := s.incomingHolePunch(str)
if err != nil {
s.tracer.ProtocolError(rp, err)
log.Debugw("error handling holepunching stream from", rp, "error", err)
log.Debugw("error handling holepunching stream from", "peer", rp, "error", err)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

sneaking this in, minor logging params issue.

@marten-seemann marten-seemann self-requested a review August 3, 2022 22:23
@marten-seemann
Copy link
Contributor

Thank you @corverroos!

@marten-seemann marten-seemann merged commit 36422d5 into libp2p:master Aug 9, 2022
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.

Routed host does not respect ForceDirectDial context
2 participants