Skip to content

Commit

Permalink
Add aws_pipe_read to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Sep 17, 2024
1 parent c79772e commit 2bddf95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/pipe_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ static void s_on_readable_event(struct aws_pipe_read_end *read_end, int error_co
}
s_signal_done_on_read_end_closed(state);
}
} else if (error_code == AWS_ERROR_SUCCESS) {
aws_pipe_read(&state->read_end, &state->buffers.dst, NULL);
}

return;
Expand Down

0 comments on commit 2bddf95

Please sign in to comment.