]> granicus.if.org Git - curl/commit
SIGPIPE: ignored while inside the library
authorDaniel Stenberg <daniel@haxx.se>
Sun, 10 Mar 2013 23:39:52 +0000 (00:39 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 22 Jun 2013 20:35:06 +0000 (22:35 +0200)
commit7d80ed64e4351556d69dbfac73f5f579d5a9ebb2
tree434b8f287de09e766f45618ead166c998df66a0d
parenta2e0ce86ba9246a6ba726eb77aa1ac0b01fc1fc0
SIGPIPE: ignored while inside the library

... and restore the ordinary handling again when it returns. This is
done for curl_easy_perform() and curl_easy_cleanup() only for now - and
only when built to use OpenSSL as backend as this is the known culprit
for the spurious SIGPIPEs people have received.

Bug: http://curl.haxx.se/bug/view.cgi?id=1180
Reported by: LluĂ­s Batlle i Rossell
lib/easy.c