From 47238a3d3f87c8381f5c9e013e6fc7c4e0d34557 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Tue, 2 May 2023 08:29:29 +0100 Subject: QUIC MSST: Documentation fixes Reviewed-by: Matt Caswell Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/20765) --- doc/man3/SSL_accept_stream.pod | 4 +--- doc/man3/SSL_free.pod | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/man3/SSL_accept_stream.pod b/doc/man3/SSL_accept_stream.pod index 88fbb0db8d..430b3dd364 100644 --- a/doc/man3/SSL_accept_stream.pod +++ b/doc/man3/SSL_accept_stream.pod @@ -27,9 +27,7 @@ function may still return NULL in blocking mode, for example if the underlying connection is terminated. The caller is responsible for managing the lifetime of the returned QUIC stream -SSL object. The lifespan of the parent QUIC connection SSL object must exceed -that of the QUIC stream SSL object; that is, the stream object must be freed -first, using L. +SSL object; for more information, see L. This function will block if the QUIC connection SSL object is configured in blocking mode (see L), but this may be bypassed by diff --git a/doc/man3/SSL_free.pod b/doc/man3/SSL_free.pod index 73c6065795..61ce50e9cc 100644 --- a/doc/man3/SSL_free.pod +++ b/doc/man3/SSL_free.pod @@ -62,6 +62,10 @@ stream in turn (which is its sending part). =back +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. + =head1 RETURN VALUES SSL_free() does not provide diagnostic information. -- cgit v1.2.1