spiegel_podman/pkg/varlinkapi
Matthew Heon 4995c511e5 Fix system service panic from early hangup in events
We weren't actually halting the goroutine that sent events, so it
would continue sending even when the channel closed (the most
notable cause being early hangup - e.g. Control-c on a curl
session). Use a context to cancel the events goroutine and stop
sending events.

Fixes #6805

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-07-06 13:14:31 -04:00
..
virtwriter fix lint - pkg/varlinkapi/virtwriter 2020-01-08 15:44:30 +01:00
attach.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00
config.go move go module to v2 2020-07-06 15:52:17 +02:00
container.go move go module to v2 2020-07-06 15:52:17 +02:00
containers.go move go module to v2 2020-07-06 15:52:17 +02:00
containers_create.go move go module to v2 2020-07-06 15:52:17 +02:00
create.go move go module to v2 2020-07-06 15:52:17 +02:00
events.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00
funcs.go move go module to v2 2020-07-06 15:52:17 +02:00
generate.go move go module to v2 2020-07-06 15:52:17 +02:00
images.go move go module to v2 2020-07-06 15:52:17 +02:00
intermediate.go Podman V2 birth 2020-04-16 15:53:58 -05:00
intermediate_varlink.go move go module to v2 2020-07-06 15:52:17 +02:00
mount.go move go module to v2 2020-07-06 15:52:17 +02:00
pods.go move go module to v2 2020-07-06 15:52:17 +02:00
remote_client.go move go module to v2 2020-07-06 15:52:17 +02:00
shortcuts.go move go module to v2 2020-07-06 15:52:17 +02:00
system.go move go module to v2 2020-07-06 15:52:17 +02:00
transfers.go move go module to v2 2020-07-06 15:52:17 +02:00
util.go move go module to v2 2020-07-06 15:52:17 +02:00
volumes.go move go module to v2 2020-07-06 15:52:17 +02:00