Skip to content

Commit

Permalink
Fix mistake for client body streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlar committed Sep 30, 2024
1 parent ff4e642 commit 4bff266
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private[netty] abstract class AsyncBodyReader extends SimpleChannelInboundHandle
case State.Direct(callback) =>
// We're streaming, emit chunks as they come
callback(Chunk.fromArray(content), isLast)
true
!isLast
}

if (readMore) ctx.read(): Unit
Expand Down

0 comments on commit 4bff266

Please sign in to comment.