curl / Mailing Lists / curl-library / Single Mail

curl-library

Calling library functions from within callbacks

From: Wolfgang Steinwender <wsteinwender_at_pcs.com>
Date: Wed, 8 Nov 2017 13:15:34 +0100

In https://curl.haxx.se/mail/lib-2017-10/0081.html
Daniel said calling library functions from within callbacks
is not allowed.

Could this be documented somewhere?
Maybe right at the affected callbacks?

Contradictory, in the example https://curl.haxx.se/libcurl/c/http2-serverpush.html
curl_easy_setopt() is called from within CURLMOPT_PUSHFUNCTION.
Is this another exception?

Regards,
W. Steinwender
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-08