Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent reusing cached cancelled requests #1757

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

lucboutier
Copy link

There was a critical issue in the driver that may occur when the external code cancels a request, indeed the CompletableFuture will then always throw a CancellationException.

This could occur for example when used in a reactive context with a Mono.zip failed.

@lucboutier lucboutier force-pushed the patch-1 branch 3 times, most recently from 7f6d964 to cf8528a Compare November 3, 2023 16:39
…t is cancelled.

There was a critical issue when the external code cancels a request, indeed the cached CompletableFuture will then always throw a CancellationException. This may happens, for example, when used by reactive like Mono.zip or Mono.firstWithValue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant