On Mon, 17 Apr 2023, Zakrzewski, Jakub via curl-library wrote:
After I upgraded a bunch of libraries in our project, our customers noticed
slowness in HTTP requests. I have profiled it, and 84% of the time was spent
in fgets(...)​ reading the CA-Bundle deep inside OpenSSL. I have worked this
around by reading the file myself, and providing it as a blob, which was
immediate 10x boost.
This is not the only performance regression people have found and reported on
OpenSSL 3.x. Luckily, we support lots of other libraries as well.
Just wanted to ask if this would maybe be something libcurl​ wanted to address?
Do you have any specific ideas how we even could do it apart from recommending
library alternatives or downgrading?
It's a bit unfortunate for me right, that caching is only available for the
multi.
I'm not sure what you are referring to, but CURLOPT_CA_CACHE_TIMEOUT works for
an easy handle used by the easy interface as well.
--
/ daniel.haxx.se
| Commercial curl support up to 24x7 is available!
| Private help, bug fixes, support, ports, new features
| https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html