Skip to content

Commit cb4b4c4

Browse files
author
Stephane Landelle
committed
comment
1 parent eaf6109 commit cb4b4c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

providers/netty/src/main/java/org/asynchttpclient/providers/netty/request/body/BodyChunkedInput.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public ByteBuf readChunk(ChannelHandlerContext ctx) throws Exception {
5151
if (endOfInput) {
5252
return null;
5353
} else {
54+
// FIXME pass a visitor so we can directly pass a pooled ByteBuf
5455
ByteBuffer buffer = ByteBuffer.allocate(chunkSize);
5556
long r = body.read(buffer);
5657
if (r < 0L) {

0 commit comments

Comments
 (0)