moby--moby/daemon/logger/gcplogs
Patrick Haas ef553e14a4 Fix gcplogs memory/connection leak
The cloud logging client should be closed when the log driver is closed. Otherwise dockerd will keep a gRPC connection to the logging endpoint open indefinitely.

This results in a slow leak of tcp sockets (1) and memory (~200Kb) any time that a container using `--log-driver=gcplogs` is terminates.

Signed-off-by: Patrick Haas <patrickhaas@google.com>
2020-09-30 17:45:19 -07:00
..
gcplogging.go Fix gcplogs memory/connection leak 2020-09-30 17:45:19 -07:00
gcplogging_linux.go homedir: remove idtools and libcontainer's user package dependencies 2019-09-24 00:32:13 +00:00
gcplogging_others.go Add canonical import comment 2018-02-05 16:51:57 -05:00