79463848

Date: 2025-02-24 14:32:57
Score: 2.5
Natty:
Report link

Cancelling a Mono or Flux is possible if the subscription was made via subscribe(), but in that case you need to explicitly manage Subscription.

If you are using Netty's Reactor (which is usually the case with WebClient.create()), then canceling the request (dispose() or cancel()) does not immediately break the connection, but allows the connection pool to reuse it.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: Глеб Кудрявцев