spiegel_podman/libpod/events
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
..
config.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00
events.go Poll on events for file reading 2020-06-19 09:00:03 -05:00
events_linux.go Expose Null eventer and allow its use in the Podman CLI 2019-07-31 17:28:42 -04:00
events_unsupported.go journald event logging 2019-04-24 16:00:04 -05:00
filters.go move go module to v2 2020-07-06 15:52:17 +02:00
journal_linux.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00
journal_unsupported.go set default event logger based on build tags 2019-05-14 16:17:11 -05:00
logfile.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00
nullout.go Fix system service panic from early hangup in events 2020-07-06 13:14:31 -04:00