RE: SSL_ERROR_WANT_READ after the handshake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok thanks you

De : openssl-users <openssl-users-bounces@xxxxxxxxxxx> de la part de Viktor Dukhovni <openssl-users@xxxxxxxxxxxx>
Envoyé : dimanche 13 mars 2022 00:22
À : openssl-users@xxxxxxxxxxx <openssl-users@xxxxxxxxxxx>
Objet : Re: SSL_ERROR_WANT_READ after the handshake
 
> On 12 Mar 2022, at 6:08 pm, loic nicolas <loicnicolas95@xxxxxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux