RE: Issues with ASYNC_pause_job() wake up

2020-02-11 Thread Valerio Di Gregorio (vadigreg) via openssl-users
YNC as a return value. > > So, probably, you need to investigate whether libcurl can do this. > > Matt > >> >> Many thanks for helping! >> >> Val >> >> >> -Original Message----- From: openssl-users >> On Behalf Of

RE: Issues with ASYNC_pause_job() wake up

2020-02-11 Thread Valerio Di Gregorio (vadigreg) via openssl-users
YNC_pause_job() wake up > > > > On 11/02/2020 13:05, Valerio Di Gregorio (vadigreg) via openssl-users > wrote: >> 1. ASYNC_pause_job() can wake up before write(). It will then block >> on the read(), which is too bad in my single-threaded code. 2. I >> fixed c

RE: Issues with ASYNC_pause_job() wake up

2020-02-11 Thread Valerio Di Gregorio (vadigreg) via openssl-users
Caswell Sent: Tuesday, February 11, 2020 2:52 PM To: openssl-users@openssl.org Subject: Re: Issues with ASYNC_pause_job() wake up On 11/02/2020 13:05, Valerio Di Gregorio (vadigreg) via openssl-users wrote: > 1. ASYNC_pause_job() can wake up before write(). It will then block on > th

Issues with ASYNC_pause_job() wake up

2020-02-11 Thread Valerio Di Gregorio (vadigreg) via openssl-users
Hello, This is my first post here. I need help with ASYNC_pause_job(). I'm writing an async engine to delegate certificate validation to a different process. Validation happens asynchronously through IPCs. To explain what I'm doing I'll use some "pseudo" code: // this happens in process #1 ctx