curl-library
Re: SIGPIPE when uploading with CURLOPT_READDATA
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 11 Oct 2004 15:27:33 +0200 (CEST)
Received on 2004-10-11
Date: Mon, 11 Oct 2004 15:27:33 +0200 (CEST)
On Mon, 11 Oct 2004, Jamie Lokier wrote:
> Fwiw, I believe SO_NOSIGPIPE is also FreeBSD 5 option. It isn't mentioned in
> the FreeBSD man pages, but it is in the header files.
Then I wonder if this change is gonna work or just don't have any effect...
> However, without testing, unless you've seen an example of this working in
> another program, you might find it's not a TCP-layer option. I.e. you might
> find it has to say SOL_SOCKET instead; I don't know.
Ah, you're right. I was just stupidly copy'n'pasting some code from the
TCP_NODELAY option...
I've attached an updated patch that might actually work!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.html
- TEXT/PLAIN attachment: sigpipe.patch