cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Libcurl Dying at Perform()

From: Brandon Tate <brandonntate_at_gmail.com>
Date: Thu, 13 Aug 2009 12:34:24 -0400

How would I go about running it as a standalone application. The
program compiles to a testing.cgi file. Not sure how I'd pull this
particular part out and run it, as it works with many other parts.

What are your thoughts on the the two warnings about libsll and
libcrypto? Is that a likely offender or can I rule that out?

On Aug 13, 2009, at 12:27 PM, Kamil Dudka wrote:

> On Thursday 13 of August 2009 18:18:21 Brandon Tate wrote:
>> I have no idea how to redirect the standard error to a file. It's a
>> cgi script that's running in a web browser. The application runs
>> fine
>> until I click the button that calls the curl function. All of the
>> headers set correctly and everything is good up until
>> myRequest.perform() is called. At that point nothing happens. If I
>> output the content type header before hand it shows a blank white web
>> page. If I don't, I get a 500 error with a premature end of script
>> headers message written in the apache ssl_error_log.
>
> Try to run it as a standalone application first. Once it works you can
> advance and make a CGI or whatever from the working stuff.
>
>> I'm running on red hat.
>
> Good news. The LD_LIBRARY_PATH and LD_PRELOAD environment variables
> works there very well. You should have a go at that.
>
> Please append curl-library mailing list to CC on reply. And do not
> top-post to respect its rules.
>
> Kamil
Received on 2009-08-13