cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segmentation Fault with pthreads and https

From: Lars Nilsson <chamaeleon_at_gmail.com>
Date: Mon, 13 Feb 2012 19:20:37 -0500

On Mon, Feb 13, 2012 at 3:12 PM, Jan Kammerath
<jankammerath_at_googlemail.com> wrote:
> Dearest Friends of cURL,
>
> I am having issues with libcurl in c++ processing https requests
> within pthreads. Whenever I call it synchronously it works fine for
> me, but calling it within pthreads it throws segmentation faults. My
> code is published under MPL and therefore it would be nice if someone
> could take a look into it:

Have you looked at http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
? There is a multi-threaded section there. If using OpenSSL, it is
probably relevant.

Lars Nilsson
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-14