Skip to content

Commit

Permalink
Issue #4376 Async Content Complete
Browse files Browse the repository at this point in the history
If completion has to do a flush, then we need a call to closed to
avoid leaking buffers.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Nov 29, 2019
1 parent d254158 commit abb7e3b
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -968,6 +968,9 @@ protected void completed()
}
}

// release any aggregate buffer from a closing flush
_channel.getResponse().getHttpOutput().closed();

if (event != null)
{
cancelTimeout(event);
Expand Down

0 comments on commit abb7e3b

Please sign in to comment.