SIGPIPE handling in nnrpd
Heath Kehoe
hakehoe at avalon.net
Mon Jul 19 14:51:56 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, so the nnrpd has a SIGPIPE handler which calls ExitWithStats.
This is Bad. Specially for ovdb. So I propose that instead of
setting a SIGPIPE handler, we set SIGPIPE to SIG_IGN. This should
cause a write to return EPIPE instead; which will be caught
in-line and allowing a proper exit.
Unless there are any objections, I'd like to put this change in
both STABLE and CURRENT.
- - heath
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFA++AS4uXPAG0A1J4RAva2AJ9nQbW6s22CVU1rfACi73uu8Y9GlgCgxjlI
2GBqykY36Bn7kdg9Qn0H4DA=
=GQx/
-----END PGP SIGNATURE-----
More information about the inn-workers
mailing list