From a54a72724b156bc7dd7e76e186999a4745bc1673 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Sat, 3 Oct 2020 19:14:10 -0400 Subject: [PATCH] fix: ignore SIGPIPE --- runtime/src/runtime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/src/runtime.c b/runtime/src/runtime.c index 418752c..765a95d 100644 --- a/runtime/src/runtime.c +++ b/runtime/src/runtime.c @@ -120,6 +120,7 @@ runtime_initialize(void) /* Mask Signals */ software_interrupt_mask_signal(SIGUSR1); software_interrupt_mask_signal(SIGALRM); + signal(SIGPIPE, SIG_IGN); /* Initialize http_parser_settings global */ http_parser_settings_initialize();