Skip to content

docker: fix connection leak on features check#1776

Merged
jedevc merged 1 commit intodocker:masterfrom
tonistiigi:fix-conn-leak
May 9, 2023
Merged

docker: fix connection leak on features check#1776
jedevc merged 1 commit intodocker:masterfrom
tonistiigi:fix-conn-leak

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

The client created from the features request is left open, meaning a connection leak will happen if the docker driver is used as a library and a new instance of driver is created.

It would be better if a new client would not be created at all for this check, but the same client would be reused. I will follow-up with combining these but wanted to fix the issue first.

@jedevc jedevc merged commit 7ad970f into docker:master May 9, 2023
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.

3 participants