summaryrefslogtreecommitdiffstats
path: root/doc/man3/SSL_shutdown.pod
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-23 19:36:38 +0200
committerHugo Landau <hlandau@openssl.org>2023-08-30 09:28:22 +0200
commit7ff1696e5b4d090839b0baa92c5333d482240fe0 (patch)
tree32e01f38b9b91a42f5523c1eaebcce05cb72fba6 /doc/man3/SSL_shutdown.pod
parentQUIC MULTISTREAM TEST: Test WAIT_PEER (diff)
downloadopenssl-7ff1696e5b4d090839b0baa92c5333d482240fe0.tar.xz
openssl-7ff1696e5b4d090839b0baa92c5333d482240fe0.zip
Tweak documentation for WAIT_PEER
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21815)
Diffstat (limited to 'doc/man3/SSL_shutdown.pod')
-rw-r--r--doc/man3/SSL_shutdown.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/man3/SSL_shutdown.pod b/doc/man3/SSL_shutdown.pod
index 913b555977..68de45e9a1 100644
--- a/doc/man3/SSL_shutdown.pod
+++ b/doc/man3/SSL_shutdown.pod
@@ -359,6 +359,9 @@ either success or failure depending on whether a shutdown has occurred.
If a locally initiated shutdown has already been triggered or the connection has
started terminating for another reason, this flag has no effect.
+B<SSL_SHUTDOWN_FLAG_WAIT_PEER> implies B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH>, as
+stream data cannot be flushed after a peer closes the connection.
+
=head2 Nonblocking Mode
SSL_shutdown() and SSL_shutdown_ex() block if the connection is configured in