]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: test-http-server-errors - Ignore SIGPIPE.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 11 Nov 2019 23:56:30 +0000 (00:56 +0100)
committermartti.rannanjarvi <martti.rannanjarvi@open-xchange.com>
Sat, 18 Apr 2020 14:55:11 +0000 (14:55 +0000)
src/lib-http/test-http-server-errors.c

index 3eb94bc66ad279f59b1cbf177c65dbf848e3f707..42dff980a3ab6141bb9a074e1d228bb17601ef4d 100644 (file)
@@ -853,6 +853,7 @@ int main(int argc, char *argv[])
 
        atexit(test_atexit);
        (void)signal(SIGCHLD, SIG_IGN);
+       (void)signal(SIGPIPE, SIG_IGN);
        (void)signal(SIGTERM, test_signal_handler);
        (void)signal(SIGQUIT, test_signal_handler);
        (void)signal(SIGINT, test_signal_handler);