cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL_shutdown crashes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 29 Sep 2009 11:44:19 +0200 (CEST)

On Mon, 28 Sep 2009, Ganesh Ragavan wrote:

> I see the following on the iteration after the sleep while running under
> gdb. SIGPIPE is received for the first iteration after every sleep.

Argh. Now it all comes back to me like a big white flash hitting my eyes.
Thanks for digging up that detail. It's interesting that this problem hasn't
hit us any more seriously.

The perhaps easiest work-around is that you do an ignore for SIGPIPE in your
app.

The actual correct fix is to figure out how to teach OpenSSL to not cause
SIGPIPEs. Given a first quick look, I'm not sure how we should make that
happen...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-29