Skip to content

Commit

Permalink
do not close connection if hello not supported (#3470)
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist authored and anorth committed Sep 23, 2019
1 parent 8f20648 commit f61f971
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protocol/hello/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ func (hn *helloNotify) Connected(n net.Network, c net.Conn) {
hello, err := hn.hello().ReceiveHello(ctx, from)
if err != nil {
log.Debugf("failed to receive hello handshake from peer %s: %s", from, err)
_ = c.Close()
return
}

Expand Down

0 comments on commit f61f971

Please sign in to comment.