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.

Re: Allocate ssl backend

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 19 Feb 2021 18:01:48 +0100 (CET)

On Fri, 19 Feb 2021, MichaƂ Antoniak wrote:

>> this looks like an area for improvement in the mbedTLS backend as I don't
>> think there's any good reason for this struct to be this big.
>
> I also think the mbedtls team can come up with a better solution.

The mbedTLS team has not been involved at all with the mbedtls backend code in
curl as far as I know, but they would surely be welcome if they would like to
help us out!

> Then I suggest making the amount of allocated memory dependent on the
> CURL_DISABLE_PROXY flag. I'm just not sure if this would be correct:

Seems accurate. And if FTP is disabled too, it can probably even manage with
just one.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/


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