> On 12 Mar 2022, at 6:08 pm, loic nicolas <loicnicola...@hotmail.fr> wrote:
> 
> After the handshake, is it really necessary to check SSL_ERROR_WANT_READ and 
> SSL_ERROR_WANT_WRITE? (whether on the server or client side)
> I don't want to accept a renegotiation, is it really possible that OpenSSL 
> sends me these events without them being linked to a renegotiation?
> 
> I did several tests on more or less long connections and I never receive them 
> but I would like to be sure.

Yes, you can encounter WANT_READ or WANT_WRITE even
after the handshake, especially when using non-blocking
sockets.

-- 
        Viktor.

Reply via email to