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
9510082e
Commit
9510082e
authored
Jan 24, 2015
by
Brian Tiger Chow
Browse files
remove message
parent
9316acfa
Changes
1
Show whitespace changes
Inline
Side-by-side
protocol/identify/id.go
View file @
9510082e
...
@@ -118,8 +118,6 @@ func (ids *IDService) ResponseHandler(s inet.Stream) {
...
@@ -118,8 +118,6 @@ func (ids *IDService) ResponseHandler(s inet.Stream) {
r
:=
ggio
.
NewDelimitedReader
(
s
,
2048
)
r
:=
ggio
.
NewDelimitedReader
(
s
,
2048
)
mes
:=
pb
.
Identify
{}
mes
:=
pb
.
Identify
{}
if
err
:=
r
.
ReadMsg
(
&
mes
);
err
!=
nil
{
if
err
:=
r
.
ReadMsg
(
&
mes
);
err
!=
nil
{
log
.
Debugf
(
"%s error receiving message from %s %s %s"
,
ID
,
c
.
RemotePeer
(),
c
.
RemoteMultiaddr
(),
err
)
return
return
}
}
ids
.
consumeMessage
(
&
mes
,
c
)
ids
.
consumeMessage
(
&
mes
,
c
)
...
...
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