Ignore SIGPIPE in keyd
authorJonathan McDowell <noodles@earth.li>
Thu, 31 Mar 2011 17:57:41 +0000 (10:57 -0700)
committerJonathan McDowell <noodles@earth.li>
Thu, 31 Mar 2011 17:57:41 +0000 (10:57 -0700)
commitf9917d386685c7f641d493dbc78eb3eb41fb24bd
tree79b810d96975a3bf4553520cafb5223402c73442
parent0fac914c0876bf3cf78c12ea0b9b44880fbdffa4
Ignore SIGPIPE in keyd

  catchsignals() normally catches SIGPIPE and sets the cleanup flag,
  as per the other signals it catches. This is fine for the HKP CGI,
  but not appropriate for keyd (as it's probably because the client
  has exited without doing appropriate cleanup). Ignore it; we'll
  deal with the error when we try to read/write to the socket.
keyd.c