If you get SSL_ERROR_WANT_WRITE, call the same function with the same
parameters and same buffer content immediately. (Same with
SSL_ERROR_WANT_READ.)
If you need to, stash those parameters in variables for ease of reference.
But don't do anything else on the SSL layer until you get a different
re
On Thu, Dec 10, 2020 at 05:14:00PM +0200, Cosmin Apreutesei wrote:
> Hello,
>
> I have a question regarding SSL_write() and returning SSL_ERROR_WANT_WRITE
> from the write callback.
>
> _After_ SSL_write() returns with SSL_ERROR_WANT_WRITE (because my write
> callback returned SSL_ERROR_WANT_WRI
Hello,
I have a question regarding SSL_write() and returning SSL_ERROR_WANT_WRITE
from the write callback.
_After_ SSL_write() returns with SSL_ERROR_WANT_WRITE (because my write
callback returned SSL_ERROR_WANT_WRITE), can I _then_ send the data given
to the calback and then call SSL_write() ag