SSL_STREAM_CONCLUDE(3ossl)
π SSL_STREAM_CONCLUDE π
okay bestie, welcome to the SSL_stream_conclude(3ossl) page from the OpenSSL manuals β¨ this one's short and sweet and it's literally just about politely telling a QUIC stream "we're done sending, mwah, bye π«Ά"
β¨ NAME β¨
SSL_stream_conclude β conclude the sending part of a QUIC stream π
πΈ SYNOPSIS πΈ
#include <openssl/ssl.h>
__owur int SSL_stream_conclude(SSL *s, uint64_t flags);
π¦ DESCRIPTION π¦
SSL_stream_conclude() signals the normal end-of-stream condition for the send part of a QUIC stream. If you call it on a QUIC connection SSL object that has an associated default stream, it signals the end of that single stream to the peer. one stream, one goodbye, periodt π
Any data you already queued for transmission via a call to SSL_write() is still gonna get written in a reliable manner before the end-of-stream is signalled β assuming the connection stays healthy, bestie π€ So like, think of this function as appending a little logical end-of-stream marker after any data that was previously written to the stream via SSL_write() calls. And if you try to call SSL_write() again after this? it will fail. no take-backs, it's giving final answer π
When you call this on a stream, the receive part of the stream is completely unaffected β the peer can keep sending data until it also signals the end of the stream. so yes, SSL_read() is still very much usable, bestie, don't panic π
flags is reserved and should be set to 0. don't be cute with it, just zero it π
Only the first call to this function has any effect for a given stream β subsequent calls are no-ops. and guess what, that's considered a success case β¨ iconic behaviour, honestly.
β οΈ This function is not supported on an object other than a QUIC stream SSL object. it's giving "QUIC streams only, everyone else go home" π
β RETURN VALUES β
- Returns
1on success π₯³ - Returns
0on failure π - Returns
0if called on an SSL object that doesn't represent a QUIC stream π
π₯ SEE ALSO π₯
π HISTORY π
The SSL_stream_conclude() function was added in OpenSSL 3.2. a newer-era queen π
π 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>.
and that's the whole page bestie!! this lil rewrite is living its best life as version 3.5.9, dated 2026-09-29 β go forth and conclude those streams responsibly, ily, mwah ππ β¨
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms