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