summaryrefslogtreecommitdiffstats
path: root/doc/ssl/SSL_read.pod
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-02-13 11:43:11 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-02-13 11:43:11 +0000
commitf282ca7413a33773dc1ba008c7e04c06db54499b (patch)
treec8a96d1bc8468162f4a7b790fa14af58c3cf49a7 /doc/ssl/SSL_read.pod
parent67c180192417174875fe02ba4ea9738803401240 (diff)
New manual page: SSL_CTX_set_mode.
Diffstat (limited to 'doc/ssl/SSL_read.pod')
-rw-r--r--doc/ssl/SSL_read.pod6
1 files changed, 5 insertions, 1 deletions
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<blocking>, 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<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)> call.
If the underlying BIO is B<non-blocking>, SSL_read() will also return
when the underlying BIO could not satisfy the needs of SSL_read()
@@ -72,6 +75,7 @@ return value B<ret> to find out the reason.
=head1 SEE ALSO
L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_write(3)|SSL_write(3)>,
+L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)>,
L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)>
=cut