cURL / Mailing Lists / curl-users / Single Mail


Re: CURLOPT_CERTINFO truncated to 2048 chars

From: Sky (Jim Schuyler) <>
Date: Thu, 9 Oct 2014 18:18:37 -0700

On Oct 9, 2014, at 1:47 PM, Daniel Stenberg <> wrote:

> On Thu, 9 Oct 2014, Sky (Jim Schuyler) wrote:
>> Yes, I will put a live example online shortly. Let me point out I’m using php5-curl, which I believe uses libcurl, but I should verify this with you before I go run more tests.
> Let me then just remind you that you're asking all this on the curl-users list, which is about the curl command line tool. See for our different lists.
>> curl_setopt($ch, CURLOPT_STDERR, $tf);
> I believe this is a source for your problems. You're just reading this from the verbose output? That's more or less accidental that it works and I believe it was removed from the verbose output in commit 21aafd0 (so gone in 7.37.0 and later).
> Verbose output lines are cut off at 2048 columns.
> You should instead extract that info using curl_easy_getinfo(), I guess it is called curl_getinfo() in PHP.

Absolutely correct, and it works perfectly. Thank you. Great package and “case closed."


-Keeping the flame of free speech
      and human rights alive online

> --
> /
> List admin:
> FAQ:
> Etiquette:

List admin:
Received on 2014-10-10