> I can't find anything wrong with your curl_get_url function except that
> it returns more than one type (CURLcode, stdlib exit code or http
> response code) and that is bad practice.

Thanks Ray. What is the best practice for this?


If you're using libcurl from
> multiple threads please review libcurl thread safety guidelines [1]. If
> not can you give us a minimal self contained example that can be used to
> reproduce?

The libmicrohttpd instance is in it's own thread, libcurl is in the
main process which requests from there.

-- 
Kind Regards,

Gavin Henry.
https://sentrypeer.org
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to