You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@scrat98 please note #11598 which deprecates ChunkAccumulator. It is still draft status, but we are working on improving this area of the code. However, we will still look at a short term fix for this issue as well.
Jetty version(s)
12.0.8
Jetty Environment
Any
Java version/vendor
(use: java -version)
Any
OS type/version
Any
Description
ChunkAccumulator uses read-only buffer in case of empty chunks that leads to the ReadOnlyBufferException
https://github.com/jetty/jetty.project/blob/jetty-12.0.x/jetty-core/jetty-io/src/main/java/org/eclipse/jetty/io/ChunkAccumulator.java#L75
Despite that asString/asInputStream/asPublisher works fine. And even asByteBuffer (because it uses ContentSourceByteBuffer)
How to reproduce?
The text was updated successfully, but these errors were encountered: