]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/internal/quic_stream.h
QUIC QSM: Stream garbage collection
[thirdparty/openssl.git] / include / internal / quic_stream.h
index 42d6ed2d7d96ce6afb55eae408b44ca06d97c547..a1e88a4ab63b286e4a0ce22f1ed1457e4e649e42 100644 (file)
@@ -253,6 +253,12 @@ void ossl_quic_sstream_fin(QUIC_SSTREAM *qss);
  */
 int ossl_quic_sstream_get_final_size(QUIC_SSTREAM *qss, uint64_t *final_size);
 
+/*
+ * Returns 1 iff all bytes (and any FIN, if any) which have been appended to the
+ * QUIC_SSTREAM so far, and any FIN (if any), have been both sent and acked.
+ */
+int ossl_quic_sstream_is_totally_acked(QUIC_SSTREAM *qss);
+
 /*
  * Resizes the internal ring buffer. All stream data is preserved safely.
  *