Skip to content

use http.Agent with a socket factory to reuse sockets and support concurrent use#9

Merged
ndeloof merged 1 commit into
docker:mainfrom
ndeloof:http.agent
Sep 22, 2025
Merged

use http.Agent with a socket factory to reuse sockets and support concurrent use#9
ndeloof merged 1 commit into
docker:mainfrom
ndeloof:http.agent

Conversation

@ndeloof

@ndeloof ndeloof commented Sep 22, 2025

Copy link
Copy Markdown
Collaborator

- What I did

use a custom SocketAgent to pool sockets and create new sockets from a factory method. Factory can be provided for TCP, Unix Domain Socket or SSH transport

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

@ndeloof ndeloof requested a review from wmluke as a code owner September 22, 2025 13:39
…current use

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit e53168f into docker:main Sep 22, 2025
1 check passed
@ndeloof ndeloof deleted the http.agent branch September 22, 2025 13:50
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