diff options
Diffstat (limited to 'upstream/debian-unstable/man3/SSL_free.3ssl')
-rw-r--r-- | upstream/debian-unstable/man3/SSL_free.3ssl | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/upstream/debian-unstable/man3/SSL_free.3ssl b/upstream/debian-unstable/man3/SSL_free.3ssl index 9621fb07..2a58d2f5 100644 --- a/upstream/debian-unstable/man3/SSL_free.3ssl +++ b/upstream/debian-unstable/man3/SSL_free.3ssl @@ -55,7 +55,7 @@ .\" ======================================================================== .\" .IX Title "SSL_FREE 3SSL" -.TH SSL_FREE 3SSL 2024-02-03 3.1.5 OpenSSL +.TH SSL_FREE 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 @@ -91,6 +91,30 @@ session cache. If the session is considered bad, because and \fBSSL_set_shutdown\fR\|(3) was not used to set the SSL_SENT_SHUTDOWN state, the session will also be removed from the session cache as required by RFC2246. +.PP +When used to free a QUIC stream SSL object, the respective sending and receiving +parts of the stream are reset unless those parts have already been concluded +normally: +.IP \(bu 4 +If the stream has a sending part (in other words, if it is bidirectional or a +locally-initiated unidirectional stream) and that part has not been concluded +via a call to \fBSSL_stream_conclude\fR\|(3) or \fBSSL_stream_reset\fR\|(3) on the QUIC +stream SSL object, a call to \fBSSL_free()\fR automatically resets the sending part of +the stream as though \fBSSL_stream_reset\fR\|(3) were called with a QUIC application +error code of 0. +.IP \(bu 4 +If the stream has a receiving part (in other words, if it is bidirectional or a +remotely-initiated unidirectional stream), and the peer has not yet concluded +that part of the stream normally (such as via a call to +\&\fBSSL_stream_conclude\fR\|(3) on its own end), a call to \fBSSL_free()\fR automatically +requests the reset of the receiving part of the stream using a QUIC STOP_SENDING +frame with a QUIC application error code of 0. Note that as per the QUIC +protocol, this will automatically cause the peer to reset that part of the +stream in turn (which is its sending part). +.PP +A QUIC stream SSL object maintains a reference to a QUIC connection SSL object +internally, therefore a QUIC stream SSL object and its parent QUIC connection +SSL object can be freed in either order. .SH "RETURN VALUES" .IX Header "RETURN VALUES" \&\fBSSL_free()\fR does not provide diagnostic information. @@ -100,7 +124,7 @@ from the session cache as required by RFC2246. \&\fBssl\fR\|(7) .SH COPYRIGHT .IX Header "COPYRIGHT" -Copyright 2000\-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000\-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 |