Skip to content

HTTP client clean fixes - #6269

Open
vietj wants to merge 6 commits into
5.1from
verticle-client-leak-5.1-2
Open

HTTP client clean fixes#6269
vietj wants to merge 6 commits into
5.1from
verticle-client-leak-5.1-2

Conversation

@vietj

@vietj vietj commented Jul 31, 2026

Copy link
Copy Markdown
Member
  • Fix shared HTTP client implementation.
  • Unify HttpClientBuilderInternal client creation between the shared / non shared cases.
  • Add a failing test.

vietj added 3 commits July 31, 2026 17:13
Motivation:

The shared HTTP client has a regression where closing one of its client, will close the underlying client.

Changes:

Improve the shared resource API to reuse the contract introduced by the cleanable resource, to be used instead of the closeable future.

In order to properly support shared client with shutdown timeout we need a contract that supports it, this is already provided by the cleanable resource contract.

As consequence, the cleanable resource used by the cleanable HTTP client, can be the shared resource that now comes as a cleanable resource.
@vietj vietj added this to the 5.1.6 milestone Jul 31, 2026
@vietj vietj self-assigned this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant