curl-users
Re: CURLOPT_CERTINFO truncated to 2048 chars
Date: Thu, 9 Oct 2014 18:18:37 -0700
On Oct 9, 2014, at 1:47 PM, Daniel Stenberg <daniel_at_haxx.se> 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 http://curl.haxx.se/mail/ 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."
-Sky
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CyberSpark.net
-Keeping the flame of free speech
and human rights alive online
> --
>
> / daniel.haxx.se-------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-10