Re: Test server SSL handshake using libcurl

2023-10-06 Thread Henrik Holst via curl-library
if you get 404 then the handshake did work, the 404 is from the http layer and not TLS so if you get that then TLS works (do curl -v just to be sure) /HH Den fre 6 okt. 2023 kl 20:29 skrev Taw via curl-library < curl-library@lists.haxx.se>: > Hi, I am trying to use libcurl to test a handshake

Re: Test server SSL handshake using libcurl

2023-10-06 Thread Dan Fandrich via curl-library
On Fri, Oct 06, 2023 at 02:54:22PM +, Taw via curl-library wrote: > Hi, I am trying to use libcurl to test a handshake with an internal server. > Unfortunately GET/HEAD methods do no work, I get 404 error from the server. > Practically I would like the cURL equivalent of this command: "openssl

Test server SSL handshake using libcurl

2023-10-06 Thread Taw via curl-library
Hi, I am trying to use libcurl to test a handshake with an internal server. Unfortunately GET/HEAD methods do no work, I get 404 error from the server. Practically I would like the cURL equivalent of this command: "openssl s_client -connect : -cert=" I can use OpenSSL lib to do it, but cURL is

Re: Invoke of curl_easy_pause from within curl callbacks

2023-10-06 Thread Daniel Stenberg via curl-library
On Fri, 6 Oct 2023, Maxim Dzhura via curl-library wrote: After carefully reading the curl_easy_pause documentation and everything curl about using callbacks, I got an impression curl_easy_pause can't be called within curl callbacks. However, there is a comment to curl_easy_pause in the recent

Re: The size of curl internal data cache

2023-10-06 Thread Daniel Stenberg via curl-library
On Fri, 6 Oct 2023, Maxim Dzhura via curl-library wrote: There is a mention of data cache in the curl_easy_pause documentation. What does control the cache maximum capacity in the case of http 1.1 and 2, i.e. how big can it be when a transfer is paused for long? Is there any relation to the

The size of curl internal data cache

2023-10-06 Thread Maxim Dzhura via curl-library
Hi all, There is a mention of data cache in the curl_easy_pause documentation. What does control the cache maximum capacity in the case of http 1.1 and 2, i.e. how big can it be when a transfer is paused for long? Is there any relation to the http2 window flow-control? Unfortunately, I could not

Invoke of curl_easy_pause from within curl callbacks

2023-10-06 Thread Maxim Dzhura via curl-library
Hi all, After carefully reading the curl_easy_pause documentation and everything curl about using callbacks, I got an impression curl_easy_pause can't be called within curl callbacks. However, there is a comment to curl_easy_pause in the recent lib/easy.c that it is actually allowed. If so, can