Added SIGPIPE handling to pop3 daemon
Showing
2 changed files
with
5 additions
and
0 deletions
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 */ | ... | ... |
-
Please register or sign in to post a comment