Commit 65217f17 65217f17a6dcc07ae0f9c50506a295178c4b6f78 by Jakob Kaivo

Added SIGPIPE handling to pop3 daemon

1 parent f4d56536
1 2000-03-28 Jakob 'sparky' Kaivo <jkaivo@elijah.nodomainname.net>
2
3 * pop3d/pop3d.c (main): handle SIGPIPE
4
1 2000-01-19 Sean 'Shaleh' Perry 5 2000-01-19 Sean 'Shaleh' Perry
2 6
3 * mailbox/mbx_mh.c: some more code fleshing, still ugly 7 * mailbox/mbx_mh.c: some more code fleshing, still ugly
......
...@@ -101,6 +101,7 @@ main (int argc, char **argv) ...@@ -101,6 +101,7 @@ main (int argc, char **argv)
101 signal (SIGSEGV, pop3_signal); 101 signal (SIGSEGV, pop3_signal);
102 signal (SIGTERM, pop3_signal); 102 signal (SIGTERM, pop3_signal);
103 signal (SIGSTOP, pop3_signal); 103 signal (SIGSTOP, pop3_signal);
104 signal (SIGPIPE, pop3_signal);
104 105
105 if (timeout < 600) /* RFC 1939 says no less than 10 minutes */ 106 if (timeout < 600) /* RFC 1939 says no less than 10 minutes */
106 timeout = 0; /* So we'll turn it off */ 107 timeout = 0; /* So we'll turn it off */
......