Skip to content

Commit

Permalink
Issue #4331 Close Complete
Browse files Browse the repository at this point in the history
failure closes HttpOutput

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Dec 10, 2019
1 parent 8553f41 commit 6478e57
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -270,7 +270,7 @@ void onWriteComplete(boolean last, Throwable failure)
boolean release = false;
synchronized (_channelState)
{
if (_state == State.CLOSING || last)
if (_state == State.CLOSING || last || failure != null)
{
_state = State.CLOSED;
callback = _closedCallback;
Expand Down

0 comments on commit 6478e57

Please sign in to comment.