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
320d0609
Commit
320d0609
authored
Jan 20, 2015
by
Brian Tiger Chow
Browse files
log(secio) rm handshake console log (still has event log)
parent
3d43649d
Changes
1
Hide whitespace changes
Inline
Side-by-side
crypto/secio/protocol.go
View file @
320d0609
...
...
@@ -80,7 +80,6 @@ func (s *secureSession) handshake(ctx context.Context, insecure io.ReadWriter) e
return
err
}
log
.
Debugf
(
"handshake: %s <--start--> %s"
,
s
.
localPeer
,
s
.
remotePeer
)
defer
log
.
EventBegin
(
ctx
,
"secureHandshake"
,
s
.
localPeer
)
.
Done
()
s
.
local
.
permanentPubKey
=
s
.
localKey
.
GetPublic
()
...
...
@@ -293,7 +292,6 @@ func (s *secureSession) handshake(ctx context.Context, insecure io.ReadWriter) e
}
// Whew! ok, that's all folks.
log
.
Debugf
(
"handshake: %s <--finish--> %s"
,
s
.
localPeer
,
s
.
remotePeer
)
log
.
Event
(
ctx
,
"secureHandshakeFinish"
,
s
.
localPeer
,
s
.
remotePeer
)
return
nil
}
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