cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: php curl_exec stopped

From: Asaf Cohen <asafco4_at_gmail.com>
Date: Mon, 27 May 2013 12:18:07 +0300

Hi Daniel,
Thanks for your reply!

I will post it to the right forum as well.

curl version is 7.19.7

my posts requests are only HTTPS, but I don't verify the certificate

Thanks.
     AC

On Mon, May 27, 2013 at 12:20 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Sun, 26 May 2013, Asaf Cohen wrote:
>
> I'm kinda new to curl in php and I have the following problem:
>>
>
> Just note that "curl in php" is the binding we call PHP/CURL and is a
> layer of code on top of plain libcurl. There's a separate list called
> curl-and-php for PHP/CURL issues.
>
> The PHP/CURL binding is written and maintained by the PHP team, not us.
>
>
> everything is working great until certain request just kills the page
>> loading. It usually happens after 80-90 requests though it can be sometimes
>> also after 20-30. I debugged it and it dies in curl_exec() (had a debug
>> message before it but the one after didn't show)
>>
>
> My code is written in php, the server is running php 5.3, apache on
>> linux, hosting provider is godaddy shared hosting plan.
>>
>
> I don't know PHP. I'd ask you to repeat the problem with a program written
> in plain C, and also I would only be really interested in this if you can
> repeat the problem with a recent libcurl version. You didn't mention which
> version you're using!
>
> Are you (only) doing HTTPS requests? If so, what SSL backend is your
> libcurl using?
>
>
> $server_output = curl_exec ($ch); // <------ IT DIES HERE INSIDE
>>
>
> ... that's an example of a function in the PHP/CURL layer, as there's no
> such function name in libcurl!
>
> --
>
> / daniel.haxx.se
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-27