Skip to content

Close HTTP response bodies#286

Merged
creack merged 1 commit intomoby:masterfrom
titanous:285-close-bodies
Apr 2, 2013
Merged

Close HTTP response bodies#286
creack merged 1 commit intomoby:masterfrom
titanous:285-close-bodies

Conversation

@titanous
Copy link
Contributor

@titanous titanous commented Apr 1, 2013

Fixes #285. The whole registry client needs a refactor, but here's a quick fix for more leaking fds.

@shykes
Copy link
Contributor

shykes commented Apr 1, 2013

@creack I'm going to assign to you reviews for registry client.

@ghost ghost assigned creack Apr 1, 2013
creack added a commit that referenced this pull request Apr 2, 2013
@creack creack merged commit dea4194 into moby:master Apr 2, 2013
@creack
Copy link
Contributor

creack commented Apr 2, 2013

Thanks!

@titanous titanous deleted the 285-close-bodies branch April 2, 2013 00:59
liusdu pushed a commit to liusdu/moby that referenced this pull request Oct 30, 2017
Fix race between sandbox.delete() and SetKey()

When sandbox is deleting, another Setkey routine could be also in
progress as there's no lock to protect it.

So add a inDelete check for SetKey() to eliminate the race.

Fixes moby#286 

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>



See merge request docker/docker!497
thaJeztah pushed a commit to thaJeztah/docker that referenced this pull request Jun 20, 2019
[18.09 backport] Fix docker cp when container source path is /
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.

Unclosed HTTP response bodies in registry.go

3 participants