Skip to content

Commit

Permalink
fix old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jun 17, 2021
1 parent ae0487d commit 80aafe8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grove_ffi/grove_ffi.go
Expand Up @@ -157,8 +157,7 @@ func Receive(c Connection) ReceiveRet {
data := make([]byte, dataLen)
_, err2 := io.ReadFull(c.conn, data)
if err2 != nil {
// See comment above. No special handling for timeouts, as we are in the middle
// of receiving a message so this connection is not in a good state.
// See comment above.
c.conn.Close()
return ReceiveRet { Err: true }
}
Expand Down

0 comments on commit 80aafe8

Please sign in to comment.