diff options
| author | Alexandr Nedvedicky <[email protected]> | 2026-09-09 11:09:19 +0200 |
|---|---|---|
| committer | Norbert Pocs <[email protected]> | 2026-09-26 13:35:08 +0200 |
| commit | 9539a15da51bc57efe28df79edc84fd3f8b11a28 (patch) | |
| tree | fc0f09e8f5012b949b2b7bccafdd681de0c80331 /include | |
| parent | Limit packet buffer overhead to ~64kB per stream. (diff) | |
| download | openssl-9539a15da51bc57efe28df79edc84fd3f8b11a28.tar.gz openssl-9539a15da51bc57efe28df79edc84fd3f8b11a28.zip | |
Enforce final size for streams.
When FIN stream frame is received at particular offset,
then the FIN's offset must be the largest offset kept
in stream reassembly buffer.
Receiving stream frame with offset larger than FIN frame
must be reported as protocol violation and connection
must be closed.
In order to report protocol violation error the stream
reassembly module must have a reference to QUIC_CHANNEL
object where particular stream belongs to. The refernce
to channel is part of QUIC_RSTREAM_QPARAM structure.
This change makes stream quality parameter mandatory.
Co-authored-by: Jakub Zelenka <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Mounir Idrassi <[email protected]>
Merge-date: Sat Sep 26 11:35:33 2026
Merged-from: https://github.com/openssl/openssl/pull/32038
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/quic_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/quic_stream.h b/include/internal/quic_stream.h index 2d0d7d94750..1c0fd3f86e8 100644 --- a/include/internal/quic_stream.h +++ b/include/internal/quic_stream.h @@ -408,7 +408,7 @@ size_t ossl_quic_rstream_get_chunk_count(QUIC_RSTREAM *qrs); */ size_t ossl_quic_rstream_get_range_count(QUIC_RSTREAM *qrs); -QUIC_RSTREAM_QPARM *ossl_quic_rstream_qparm_new(void); +QUIC_RSTREAM_QPARM *ossl_quic_rstream_qparm_new(QUIC_CHANNEL *ch); void ossl_quic_rstream_qparm_destroy(QUIC_RSTREAM_QPARM *rsqp); #endif |
