Skip to content

Commit

Permalink
chore: fix EOF
Browse files Browse the repository at this point in the history
Signed-off-by: charankamarapu <kamarapucharan@gmail.com>
  • Loading branch information
charankamarapu committed Mar 26, 2024
1 parent e457191 commit f9bc0f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/core/proxy/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ func ReadBuffConn(ctx context.Context, logger *zap.Logger, conn net.Conn, buffer
if ctx.Err() != nil { // to avoid sending buffer to closed channel if the context is cancelled
return
}
utils.LogError(logger, err, "failed to read the packet message in proxy")
if err != io.EOF {
utils.LogError(logger, err, "failed to read the packet message in proxy")
}
errChannel <- err
return
}
Expand Down

0 comments on commit f9bc0f7

Please sign in to comment.