Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enforce
max_pos
stream config in poll_get_buffer_aligned
We need to make sure the stream can't return any bytes beyond the `max_pos` offset. Right now, `poll_read` respects this while `poll_get_buffer_aligned` doesn't. This commit makes sure we are consistent across the two.
- Loading branch information