]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Tweak documentation for WAIT_PEER
authorHugo Landau <hlandau@openssl.org>
Wed, 23 Aug 2023 17:36:38 +0000 (18:36 +0100)
committerHugo Landau <hlandau@openssl.org>
Wed, 30 Aug 2023 07:28:22 +0000 (08:28 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21815)

doc/man3/SSL_shutdown.pod

index 913b5559771ab4cdb9a13c903e921d081b42f5bc..68de45e9a13975c8b7214b56aab8eafc92ffa76b 100644 (file)
@@ -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