Skip to content

Commit

Permalink
Fix router's instant EOF while serving RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Nov 25, 2019
1 parent 29768d1 commit fc644ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ func (r *router) serveSetup() {
r.logger.Infof("handling setup request: setupPK(%s)", conn.RemotePK())

go r.rpcSrv.ServeConn(conn)

if err := conn.Close(); err != nil {
r.logger.WithError(err).Warn("Failed to close connection")
}
}
}

Expand Down

0 comments on commit fc644ea

Please sign in to comment.