curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: Issues implementing an async certificate validation engine

From: Valerio Di Gregorio \(vadigreg\) via curl-users <>
Date: Tue, 11 Feb 2020 16:59:23 +0000

Hello Daniel,
Thanks for your reply. I will post this on curl-library. Sorry for polluting this mailinglist.

Unfortunately I'm single-threaded so I must avoid any active wait.

Kind regards,

-----Original Message-----
From: Daniel Stenberg <>
Sent: Tuesday, February 11, 2020 5:50 PM
To: Valerio Di Gregorio (vadigreg) via curl-users <>
Cc: Valerio Di Gregorio (vadigreg) <>
Subject: Re: Issues implementing an async certificate validation engine

On Tue, 11 Feb 2020, Valerio Di Gregorio (vadigreg) via curl-users wrote:

> Is there a reliable way (only when data is really ready) and a prompt
> way (in order of micro/milli-seconds) to wake up from ASYNC_pause_job()?

This is the mailing list for the curl tool and related subjects. You're using the library so the curl-library list is probably a better fit.

But you're asking about behaviors in an OpenSSL call and then the curl-library mailing list isn't really the most suitable one either. I would propose the OpenSSL users mailing list for that, I think.

Then again, you probably don't have to use OpenSSL's fancy "async" stuff since you have to keep libcurl waiting in the callback anyway until you're done, so you *could* just bounce over the context pointer to your child thread, have it do whatever it needs to do, and then signal the callback thread again that it can go on...

  / | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
Received on 2020-02-11