curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Allocate ssl backend

From: Michał Antoniak via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 18 Feb 2021 10:48:40 +0100

I have a question regarding the following code:

https://github.com/curl/curl/blob/e72270236cf7606069907f91e55e02c5ed54df4a/lib/url.c#L1640

Is it intended to allocate memory for ssl backend data 4 times?
With the CURL_DISABLE_PROXY flag active, it seems that you can only
allocate 2 times.

I briefly checked the code and it seems that gskit.c explicitly uses
proxy_ssl regardless of the CURL_DISABLE_PROXY flag.
Is it intentional?

Best regards,
Michał Antoniak


-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html
Received on 2021-02-18