Skip to content

Commit

Permalink
Fixes afterConnectionFailure tests for JettyHttpClient.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamBarker committed Jul 22, 2024
1 parent c48e929 commit 0de501b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ public void onContent(Response response, ByteBuffer content, Callback callback)
}
}

@Override
public void onFailure(Response response, Throwable failure) {
asyncResponse.completeExceptionally(failure);
}

/**
* Implement to consume the content of the chunked response.
* <p>
Expand Down

0 comments on commit 0de501b

Please sign in to comment.