Skip to content

Commit

Permalink
#11854 add missing onContent() call
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban committed May 31, 2024
1 parent e1c7a7c commit c8a2a7f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public void onHeaders(Response response)
@Override
public void onContent(Response response, Content.Chunk chunk, Runnable demander)
{
// Call onContent(Response, ByteBuffer) as ContentListener is implemented,
// so it is expected that this variant is called.
onContent(response, chunk.getByteBuffer());

if (!chunk.hasRemaining())
{
if (LOG.isDebugEnabled())
Expand Down

0 comments on commit c8a2a7f

Please sign in to comment.