Re: curl_multi_socket_action takes longer when using HTTPS

2024-05-29 Thread Daniel Stenberg via curl-library
On Tue, 28 May 2024, Richa Shah wrote: - Is it possible the time spent in pruning dead connections is getting counted towards DNS resolution? Since thats the very first latency that curl tracks for handles, my guess is anything curl does before actually reaching the resolutio

Re: curl_multi_socket_action takes longer when using HTTPS

2024-05-28 Thread Richa Shah via curl-library
Hello, I am now using Curl 8.6.0, but I'm still seeing this problem. I have some more information to add though: - I tried out OpenSSL 1.1 and even with the CA store caching enabled I still saw the same high latencies - I specifically observed a couple of high latency calls. When I call

Re: curl_multi_socket_action takes longer when using HTTPS

2023-12-02 Thread Daniel Stenberg via curl-library
On Fri, 1 Dec 2023, Ray Satiro via curl-library wrote: Old versions. Try with the latest curl [1] and openssl [2]. Be aware that OpenSSL 3 has been mentioned to do worse performance-wise than its previous versions. I don't know if the recently released version 3.2 fixes this, but it could be

Re: curl_multi_socket_action takes longer when using HTTPS

2023-12-01 Thread Ray Satiro via curl-library
On 12/1/2023 6:32 PM, Richa Shah via curl-library wrote: - libcurl version: 7.72 - TLS backend: OpenSSL, version: 1.0.2 Old versions. Try with the latest curl [1] and openssl [2]. libcurl has ca caching now because it takes some time for openssl to parse the certificates, so rather than do t

curl_multi_socket_action takes longer when using HTTPS

2023-12-01 Thread Richa Shah via curl-library
Hello! I'm using libcurl in a C++ service for reaching out to a couple of other services. My C++ service is a standard service - it listens for requests, then uses libcurl to call a couple of other services, processes the responses and returns something back to the caller. I have been using HTTP