cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SIGPIPE downloading with redirection

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jan 2013 23:17:09 +0100 (CET)

On Mon, 7 Jan 2013, Lluís Batlle i Rossell wrote:

> So do you think that at least the curl tool could be fixed against this,
> although libcurl cannot?

Not exactly. I believe the fix is easy for the curl tool, while the libcurl
fix is slightly more complicated.

I've filed bug #1180 with all the details so far and a suggested solution:
https://sourceforge.net/p/curl/bugs/1180/

I've also just pushed a work-around for curl that ignores SIGPIPE and when I
tried your case with the fix applied it worked fine: http://git.io/wLhdXw

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-08