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.

CURLE_ABORTED_BY_CALLBACK ?

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.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to