We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf6109 commit cb4b4c4Copy full SHA for cb4b4c4
providers/netty/src/main/java/org/asynchttpclient/providers/netty/request/body/BodyChunkedInput.java
@@ -51,6 +51,7 @@ public ByteBuf readChunk(ChannelHandlerContext ctx) throws Exception {
51
if (endOfInput) {
52
return null;
53
} else {
54
+ // FIXME pass a visitor so we can directly pass a pooled ByteBuf
55
ByteBuffer buffer = ByteBuffer.allocate(chunkSize);
56
long r = body.read(buffer);
57
if (r < 0L) {
0 commit comments