Re: Asynchronous certificate verification and curl_multi

Daniel Stenberg via curl-library <[email protected]>
Newsgroups gmane.comp.web.curl.library
Message-ID <[email protected]>
On Wed, 13 Aug 2025, Ondra via curl-library wrote:

> Hello, Since I do not really know the code it is hard for me to say whether 
> simply running curl_multi_socket_action with CURL_SOCKET_TIMEOUT would work 
> and be an acceptable solution for you, or whether adding something new 
> (CURL_SOCKET_RETRY_CONNECT similar to CURL_SOCKET_TIMEOUT?) would be the 
> correct approach. Additionally both of these solutions only work for 
> curl_multi, although I think that for curl_easy_perform most people will 
> just block within the callback...

Shouldn't the callback pause the transfer when it can't verify the certificate 
right now but thinks it will magically have information in the future.

Then in a future when it has the information it resumes/unpauses the handle 
again?

-- 

  / daniel.haxx.se || https://rock-solid.curl.dev
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.