Commit Graph

4 Commits

Author SHA1 Message Date
knative-automation 0e24b49fa1
Format go code (#2312)
Signed-off-by: Knative Automation <automation@knative.team>
2021-10-15 12:04:13 -07:00
Markus Thömmes 1ba51667e8 Revert "Add SIGPIPE signal handler to the signals package (#689)" (#709)
This reverts commit 1fb9a43308.
2019-09-20 13:33:05 -07:00
Slavomir Kaslev 1fb9a43308 Add SIGPIPE signal handler to the signals package (#689)
By default raised SIGPIPE signal will cause the program to exit immediately[1]
and bypass any shutdown logic.

Add syscall.SIGPIPE to the signals we get notified to disable this behavior.

[1] https://golang.org/pkg/os/signal/#hdr-SIGPIPE

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>
2019-09-18 19:27:48 -07:00
Matt Moore d6c701b0b1 Copy pkg/signals verbatim from Serving. (#25) 2018-07-30 13:05:36 -07:00