cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL_shutdown crashes

From: Ganesh Ragavan <ganeshragavan_at_gmail.com>
Date: Tue, 6 Oct 2009 10:16:27 -0700

On Fri, Oct 2, 2009 at 12:11 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 29 Sep 2009, Ganesh Ragavan wrote:
>
>>> 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.
>
> I guess it could work as a work-around if it would tell us to not attempt
> the shutdown. Can't you give it a try and tell us how it works?

I tried this (using SSL_get_shutdown before calling SSL_shutdown) and
it doesn't seem to help, so I am going with ignoring SIGPIPE.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-06