diff options
Diffstat (limited to 'upstream/debian-unstable/man3/SSL_set_shutdown.3ssl')
-rw-r--r-- | upstream/debian-unstable/man3/SSL_set_shutdown.3ssl | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/upstream/debian-unstable/man3/SSL_set_shutdown.3ssl b/upstream/debian-unstable/man3/SSL_set_shutdown.3ssl index 07805c0f..16d5424f 100644 --- a/upstream/debian-unstable/man3/SSL_set_shutdown.3ssl +++ b/upstream/debian-unstable/man3/SSL_set_shutdown.3ssl @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "SSL_SET_SHUTDOWN 3SSL" -.TH SSL_SET_SHUTDOWN 3SSL 2024-02-03 3.1.5 OpenSSL +.TH SSL_SET_SHUTDOWN 3SSL 2024-04-04 3.2.2-dev OpenSSL .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -106,11 +106,21 @@ close alert to the peer (see \fBSSL_shutdown\fR\|(3)). If a close_notify was received, SSL_RECEIVED_SHUTDOWN will be set, for setting SSL_SENT_SHUTDOWN the application must however still call \&\fBSSL_shutdown\fR\|(3) or \fBSSL_set_shutdown()\fR itself. +.PP +\&\fBSSL_set_shutdown()\fR is not supported for QUIC SSL objects. .SH "RETURN VALUES" .IX Header "RETURN VALUES" \&\fBSSL_set_shutdown()\fR does not return diagnostic information. .PP -\&\fBSSL_get_shutdown()\fR returns the current setting. +\&\fBSSL_get_shutdown()\fR returns the current shutdown state as set or based +on the actual connection state. +.PP +\&\fBSSL_get_shutdown()\fR returns 0 if called on a QUIC stream SSL object. If it +is called on a QUIC connection SSL object, it returns a value with +SSL_SENT_SHUTDOWN set if CONNECTION_CLOSE has been sent to the peer and +it returns a value with SSL_RECEIVED_SHUTDOWN set if CONNECTION_CLOSE +has been received from the peer or the QUIC connection is fully terminated +for other reasons. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBssl\fR\|(7), \fBSSL_shutdown\fR\|(3), @@ -118,7 +128,7 @@ for setting SSL_SENT_SHUTDOWN the application must however still call \&\fBSSL_clear\fR\|(3), \fBSSL_free\fR\|(3) .SH COPYRIGHT .IX Header "COPYRIGHT" -Copyright 2001\-2018 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2001\-2023 The OpenSSL Project Authors. All Rights Reserved. .PP Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy |