Hi.
On 17.04.23 10:48, Zakrzewski, Jakub via curl-library wrote:
Hi All,
first, I know this is not really a curl issue per se, but I wanted to
draw attention to the problem.
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.
We use curl easy interface (changing to multi is out of the question in
the nearest future because of architectural reasons).
Just wanted to ask if this would maybe be something |libcurl| wanted to
address?
It's a bit unfortunate for me right, that caching is only available for
the multi.
Well the performance penalty of OpenSSL is quite long discussed in this
issue.
https://github.com/openssl/openssl/issues/17064
Do you have any chance to switch back to OpenSSL 1.1.1?
--
Have a good one,
Jakub
Regards
Alex
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette: https://curl.se/mail/etiquette.html