Skip to content

Commit

Permalink
Issue #4331 Close Complete
Browse files Browse the repository at this point in the history
Fix for proxy tests

Signed-off-by: Greg Wilkins <gregw@webtide.com>
  • Loading branch information
gregw committed Dec 6, 2019
1 parent d53194b commit 8340a20
Showing 1 changed file with 9 additions and 2 deletions.
Expand Up @@ -1273,8 +1273,15 @@ protected void onCompleteSuccess()
break;

case UNREADY:
_state = _last ? State.CLOSED : State.READY;
close = true;
if (_last)
{
_state = State.CLOSED;
close = true;
}
else
{
_state = State.READY;
}
wake = _channel.getState().onWritePossible();
break;

Expand Down

0 comments on commit 8340a20

Please sign in to comment.