moby/container
Brian Goff 0f51477017 Fix fd leak on attach
With a full attach, each attach was leaking 4 goroutines.
This updates attach to use errgroup instead of the hodge-podge of
waitgroups and channels.

In addition, the detach event was never being sent.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-05-31 10:11:18 -04:00
..
stream Fix fd leak on attach 2018-05-31 10:11:18 -04:00
archive.go container.BaseFS: check for nil before deref 2018-03-13 21:24:48 -07:00
container.go Move network operations out of container package 2018-05-10 17:16:00 -04:00
container_unit_test.go TestContainerStopTimeout: fix 2018-04-19 11:09:46 -07:00
container_unix.go Merge pull request #36874 from kolyshkin/stop-timeout 2018-05-30 13:38:42 -04:00
container_windows.go Merge configs/secrets in unix implementation 2018-02-16 11:25:14 -05:00
env.go Add canonical import comment 2018-02-05 16:51:57 -05:00
env_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
health.go Add canonical import comment 2018-02-05 16:51:57 -05:00
history.go Add canonical import comment 2018-02-05 16:51:57 -05:00
memory_store.go Add canonical import comment 2018-02-05 16:51:57 -05:00
memory_store_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
monitor.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mounts_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
mounts_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
state.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
state_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
store.go Add canonical import comment 2018-02-05 16:51:57 -05:00
view.go Various code-cleanup 2018-05-23 17:50:54 +02:00
view_test.go Automated migration using 2018-03-16 11:03:43 -04:00