curl / Mailing Lists / curl-library / Single Mail


Re: Ending libcurl when EVT_QUERY_END_SESSION received

From: Daniel Stenberg via curl-library <>
Date: Wed, 26 Sep 2018 11:00:40 +0200 (CEST)

On Tue, 25 Sep 2018, acorn12 via curl-library wrote:

> Looking through the error codes fro libcurl, I cannot find any way to ensure
> that the error code I am intending to return from the callbacks will not
> conflict with any other libcurl error code.


If that's not good enough, all callbacks get a custom private pointer passed
in to them so you can easily set your own flag/error code in your own structs
to pass on whatever data you need.

Received on 2018-09-26