chiark / gitweb /
dgit: libcurl usage: Install SIGPIPE handler ourselv
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jul 2019 17:22:26 +0000 (18:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 23 Jul 2019 20:57:59 +0000 (21:57 +0100)
commit230d9f8ed1dd3f9e4ee4351af34e4bcb52c54ac8
tree344970836b768ec80ac570e61c56e58cfc3718a8
parentb0879c98de6356234edf1365c6553a694725d040
dgit: libcurl usage: Install SIGPIPE handler ourselv

We don't want a global SIGPIPE setting.  In particular we do not want
to run any of subprocesses with SIGPIPE ignored.

Just in case libcurl gets this wrong, tell it CURLOPT_NOSIGNAL, and do
it ourselves.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit