aboutsummaryrefslogtreecommitdiffstats
path: root/doc/ssl/SSL_write.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_write.pod
parent67c180192417174875fe02ba4ea9738803401240 (diff)
downloadopenssl-f282ca7413a33773dc1ba008c7e04c06db54499b.tar.gz
New manual page: SSL_CTX_set_mode.
Diffstat (limited to 'doc/ssl/SSL_write.pod')
-rw-r--r--doc/ssl/SSL_write.pod6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ssl/SSL_write.pod b/doc/ssl/SSL_write.pod
index 8110161522..f95907981d 100644
--- a/doc/ssl/SSL_write.pod
+++ b/doc/ssl/SSL_write.pod
@@ -24,7 +24,10 @@ the SSL_write() operation. The behaviour of SSL_write() depends on the
underlying BIO.
If the underlying BIO is B<blocking>, SSL_write() will only return, once the
-write operation has been finished or an error occurred.
+write 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_write() will also return,
when the underlying BIO could not satisfy the needs of SSL_write()
@@ -71,6 +74,7 @@ return value B<ret> to find out the reason.
=head1 SEE ALSO
L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_read(3)|SSL_read(3)>,
+L<SSL_CTX_set_mode(3)|SSL_CTX_set_mode(3)>,
L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)>
=cut