Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
07d52b33
Commit
07d52b33
authored
Jan 19, 2015
by
Juan Batiz-Benet
Browse files
p2p/proto/mux: make log more useful
parent
33dcef5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
protocol/mux.go
View file @
07d52b33
...
@@ -115,7 +115,7 @@ func (m *Mux) HandleSync(s inet.Stream) {
...
@@ -115,7 +115,7 @@ func (m *Mux) HandleSync(s inet.Stream) {
return
return
}
}
log
.
Infof
(
"muxer handle protocol: %s"
,
name
)
log
.
Infof
(
"muxer handle protocol
%s
: %s"
,
s
.
Conn
()
.
RemotePeer
(),
name
)
handler
(
s
)
handler
(
s
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment