moby/pkg/signal
Jhon Honce 55a367d2fe Ignore SIGPIPE events, resolves #19728
Using golang 1.6, is it now possible to ignore SIGPIPE events on
stdout/stderr.  Previous versions of the golang library cached 10
events and then killed the process receiving the events.

systemd-journald sends SIGPIPE events when jounald is restarted and
the target of the unit file writes to stdout/stderr. Docker logs to stdout/stderr.

This patch silently ignores all SIGPIPE events.

Signed-off-by: Jhon Honce <jhonce@redhat.com>
2016-05-23 15:26:41 -07:00
..
README.md #11585: README for pkg/signal. Signed-off-by: Vladimir Roudakov <v_roudakov@yahoo.com> 2015-03-26 21:18:27 +10:00
signal.go Windows: [TP4] docker kill handling 2015-10-13 16:04:49 -07:00
signal_darwin.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
signal_freebsd.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
signal_linux.go Define all of the signals defined by kill -l 2015-11-12 09:55:18 -05:00
signal_unix.go Don't forward SIGPIPE from client to container 2016-03-18 16:50:18 -04:00
signal_unsupported.go Windows: Enable kill (part one) 2015-10-13 08:42:47 -07:00
signal_windows.go Don't forward SIGPIPE from client to container 2016-03-18 16:50:18 -04:00
trap.go Ignore SIGPIPE events, resolves #19728 2016-05-23 15:26:41 -07:00

This package provides helper functions for dealing with signals across various operating systems