cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL_shutdown crashes

From: Ganesh Ragavan <ganeshragavan_at_gmail.com>
Date: Tue, 29 Sep 2009 06:24:27 -0700

On Tue, Sep 29, 2009 at 2:44 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> 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.
>
> 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...

Looking up a different forum related to this issue, someone has suggested using
SSL_get_shutdown before calling SSL_shutdown. I am not sure though if that
would be the right workaround for my case.

http://www.opensubscriber.com/message/openssl-users@openssl.org/3334348.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-09-29