Re: Asynchronous certificate verification and curl_multi
Stefan Eissing via curl-library <[email protected]>
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
> Am 13.08.2025 um 15:16 schrieb Daniel Stenberg via curl-library <[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? The pause/unpause is currently not observed when connecting. We would have to fix that. > > -- > > / daniel.haxx.se || https://rock-solid.curl.dev > -- > Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library > Etiquette: https://curl.se/mail/etiquette.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html