On 06/04/2020 18:02, Tomalak Geret'kal wrote:
> It is more likely that curl_east_setopt is expecting the
> C-string you give it to live for the duration of the handle
> (as it does with the request headers).
>
> Thus, switching to a "buffer" may not be enough (the pointer
> you were extracting
On 06/04/2020 17:41, Mac-Fly via curl-library wrote:
> I understand that and I was compiling a minimal example
> for you. While doing so I found the error!!!
> In the libCURL example (cookies_interface.c), you call:
> curl_easy_setopt([CURL_handle], CURLOPT_COOKIELIST, cookie);
> ...where "cookie"
Dear Daniel,
let me answer hereby:
> *ever growing* ? What exactly does that mean.
It meant although I reset in between perform() calls the cookies of the old
call remain in memory. E.g.: perform() on site A , clean-up, perform() on site
B would have had the cookies of both: A and B. Doing
Hi friends,
You might've seen that I'm working on MQTT for curl over in PR 5173 [1]. This
is based on the initial PR Björn brought a little over a year ago.
In this PR, there's a small doc file describing the state of that work
(docs/MQTT.md) but I've also created a wiki page for this work
On Mon, 6 Apr 2020, Mac-Fly via curl-library wrote:
I call:
- curl_easy_setopt([CURL_handle], CURLOPT_COOKIEFILE, "");
- curl_easy_setopt([CURL_handle], CURLOPT_COOKIELIST, "ALL");
- curl_easy_setopt([CURL_handle], CURLOPT_COOKIELIST, cookie);
- curl_easy_perform([CURL_handle]); >> to launch
Dear all,
I am trying to use cookie interface but I am probably missing something
obvious.
What I do (note that I want to limit the cookies for each libCURL call to a
minimum):
(...after the usual initialisation...)
I call:
- curl_easy_setopt([CURL_handle], CURLOPT_COOKIEFILE, ""); >> to
On Sun, 5 Apr 2020, zixu.icloud via curl-library wrote:
And I’m compiling on an Ubuntu 16.04 PC, with PKG-CONFIG installed.
Please show us text instead of images when the output is text.
You're cross-compiling but you point out your *native* pkg-config path. That
seems highly questionable.