xref: /freebsd/secure/lib/libcrypto/man/man3/SSL_stream_conclude.3 (revision 88b8b7f0c4e9948667a2279e78e975a784049cba)
-*- mode: troff; coding: utf-8 -*-
Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45)

Standard preamble:
========================================================================
..
..
.. \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
. ds C` "" . ds C' "" 'br\} . ds C` . ds C' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is >0, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.

Avoid warning from groff about undefined register 'F'.
.. .nr rF 0 . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF ========================================================================

Title "SSL_STREAM_CONCLUDE 3ossl"
SSL_STREAM_CONCLUDE 3ossl 2025-07-01 3.5.1 OpenSSL
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
NAME
SSL_stream_conclude - conclude the sending part of a QUIC stream
SYNOPSIS
Header "SYNOPSIS" .Vb 1 #include <openssl/ssl.h> \& _\|_owur int SSL_stream_conclude(SSL *s, uint64_t flags); .Ve
DESCRIPTION
Header "DESCRIPTION" \fBSSL_stream_conclude() signals the normal end-of-stream condition for the send part of a QUIC stream. If called on a QUIC connection SSL object with an associated default stream, it signals the end of the single stream to the peer.

Any data already queued for transmission via a call to SSL_write() will still be written in a reliable manner before the end-of-stream is signalled, assuming the connection remains healthy. This function can be thought of as appending a logical end-of-stream marker after any data which has previously been written to the stream via calls to SSL_write(). Further attempts to call SSL_write() after calling this function will fail.

When calling this on a stream, the receive part of the stream remains unaffected, and the peer may continue to send data until it also signals the end of the stream. Thus, SSL_read() can still be used.

\fIflags is reserved and should be set to 0.

Only the first call to this function has any effect for a given stream; subsequent calls are no-ops. This is considered a success case.

This function is not supported on an object other than a QUIC stream SSL object.

"RETURN VALUES"
Header "RETURN VALUES" Returns 1 on success and 0 on failure.

Returns 0 if called on an SSL object not representing a QUIC stream.

"SEE ALSO"
Header "SEE ALSO" \fBopenssl-quic\|(7), ssl\|(7), SSL_shutdown_ex\|(3)
HISTORY
Header "HISTORY" The SSL_stream_conclude() function was added in OpenSSL 3.2.
COPYRIGHT
Header "COPYRIGHT" Copyright 2022-2023 The OpenSSL Project Authors. All Rights Reserved.

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 in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.