Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: usage of ByteArrayInputStream.transferTo(OutputStream) may fail on Java 21.0.2 #8250

Closed
tomas-langer opened this issue Jan 17, 2024 · 0 comments · Fixed by #8251
Closed
Assignees
Labels
4.x Version 4.x bug Something isn't working P1 webserver
Milestone

Comments

@tomas-langer
Copy link
Member

In Java 21.0.2 a constant was introduced to limit the amount of bytes sent in a single write event, so the whole buffer is not sent at once.
Due to a bug in FixedBufferData, the offset was not calculated correctly and a few tests stopped working (where we use 1 Mbi of data, as the limit is 131_072 bytes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working P1 webserver
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants