Skip to content

Commit

Permalink
Issue #4461 HttpOutput Aggregation
Browse files Browse the repository at this point in the history
Remove case that can never happen.

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Jan 9, 2020
1 parent 356b1c7 commit bda1db7
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1696,16 +1696,6 @@ protected Action process() throws Exception
return Action.SCHEDULED;
}

// all content written, but if we have not yet signaled completion,
// then we need to do so
if (_last && !_completed)
{
// TODO How can this ever happen?
_completed = true;
channelWrite(BufferUtil.EMPTY_BUFFER, true, this);
return Action.SCHEDULED;
}

if (LOG.isDebugEnabled() && _completed)
LOG.debug("EOF of {}", this);

Expand Down

0 comments on commit bda1db7

Please sign in to comment.