understanding the SSL I/O model

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Jul 6 11:23:00 CEST 2010

On Tue, Jul 6, 2010 at 10:58 AM, Christian Parpart <trapni at gentoo.org> wrote:
> Hey all,
> I've got a question I could not actually google for it.
> Somebody recently told me, that an SSL write or read operation may also
> result in not just a write for write, or read for read, but also, that a
> write could also require a read and vice versa.
> I have absolutely no idea when and why, except (maybe) for the
> rehandshake-part which *seems* to be allowed to be ignored and hope, that
> the other side accepts it.

Read and write are independent in TLS (and SSL). Every request for
read needs only to read data, and the same occurs for write. The one
who told you was probably talking about some other protocol.


More information about the Gnutls-help mailing list