X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fssl%2FSSL_read.pod;fp=doc%2Fssl%2FSSL_read.pod;h=ed86d269dcd694f4d3c3a5241a453fcd49b3dc88;hp=9bff32500b89900dcd3470873a45fa90925b3839;hb=f282ca7413a33773dc1ba008c7e04c06db54499b;hpb=67c180192417174875fe02ba4ea9738803401240 diff --git a/doc/ssl/SSL_read.pod b/doc/ssl/SSL_read.pod index 9bff32500b..ed86d269dc 100644 --- a/doc/ssl/SSL_read.pod +++ b/doc/ssl/SSL_read.pod @@ -24,7 +24,10 @@ the SSL_read() operation. The behaviour of SSL_read() depends on the underlying BIO. If the underlying BIO is B, SSL_read() will only return, once the -read operation has been finished or an error occurred. +read operation has been finished or an error occurred, except when a +renegotiation take place, in which case a SSL_ERROR_WANT_READ may occur. +This behaviour can be controlled with the SSL_MODE_AUTO_RETRY flag of the +L call. If the underlying BIO is B, SSL_read() will also return when the underlying BIO could not satisfy the needs of SSL_read() @@ -72,6 +75,7 @@ return value B to find out the reason. =head1 SEE ALSO L, L, +L, L, L =cut