Skip to content

Commit

Permalink
io: changed some codes in net_io_propagate_critical_error
Browse files Browse the repository at this point in the history
EIO was removed because it was too broad and ENOTTY was added because it
seems to happen in some deployments even though it doesn't make a lot
of sense.

Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Aug 31, 2023
1 parent af3b655 commit 8ba3321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ static void net_io_propagate_critical_error(
case ENOTCONN:
case EPIPE:
case EACCES:
case EIO:
case ENOTTY:
case ENETDOWN:
case ENETUNREACH:
connection->net_error = errno;
Expand Down

0 comments on commit 8ba3321

Please sign in to comment.