Skip to content

Commit

Permalink
#12520 revert changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <[email protected]>
  • Loading branch information
lorban committed Nov 19, 2024
1 parent df920ec commit 6f3199f
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,23 +354,18 @@ public boolean isResponseCompleted()
*/
Boolean abort(Throwable failure)
{
boolean handle;
try (AutoLock ignored = lock())
{
boolean aborted = abortResponse(failure);
if (LOG.isDebugEnabled())
LOG.debug("abort={} {}", aborted, this, failure);
if (aborted)
{
boolean handle = _state == State.WAITING;
handle = _state == State.WAITING;
if (handle)
{
_state = State.WOKEN;
_requestState = RequestState.COMPLETING;
}
else
{
_requestState = RequestState.COMPLETED;
}
_requestState = RequestState.COMPLETED;
return handle;
}
return null;
Expand Down

0 comments on commit 6f3199f

Please sign in to comment.