curl-library
Re: Calling library functions from within callbacks
Date: Wed, 8 Nov 2017 15:45:07 +0100
On 08.11.2017 14:21, Daniel Stenberg wrote:
> On Wed, 8 Nov 2017, Wolfgang Steinwender wrote:
>
>> In https://curl.haxx.se/mail/lib-2017-10/0081.html Daniel said calling library functions from
>> within callbacks is not allowed.
>
> Yeah, that's the general rule.
>
>> Could this be documented somewhere?
>> Maybe right at the affected callbacks?
>
> Yeah, I think that would be great. There are no less than 23 callbacks in libcurl so it would
> probably be worth working out the phrasing to use first...
>
> Any suggestion?
The phrasing from your first posting would be completely unterstandable:
Do not call any libcurl function from within the callback.
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-08