summaryrefslogtreecommitdiff
path: root/ssl/quic/quic_channel_local.h
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-04-18 19:30:55 +0100
committerHugo Landau <hlandau@openssl.org>2023-05-12 14:47:12 +0100
commit999e13f40eda5a2ca39d1efb407b96f81d2b9535 (patch)
treed34c48091e5d317251e22a786e28479106acc004 /ssl/quic/quic_channel_local.h
parent9caf981237c3e655c18ebef7193153238f2855db (diff)
downloadopenssl-new-999e13f40eda5a2ca39d1efb407b96f81d2b9535.tar.gz
QUIC CHANNEL: Incoming streams implicitly create lower-numbered streams
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'ssl/quic/quic_channel_local.h')
-rw-r--r--ssl/quic/quic_channel_local.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ssl/quic/quic_channel_local.h b/ssl/quic/quic_channel_local.h
index a1ce833f56..f13d0118ee 100644
--- a/ssl/quic/quic_channel_local.h
+++ b/ssl/quic/quic_channel_local.h
@@ -168,6 +168,15 @@ struct quic_channel_st {
uint64_t next_local_stream_ordinal_uni;
/*
+ * Used to track which stream ordinals within a given stream type have been
+ * used by the remote peer. This is an optimisation used to determine
+ * which streams should be implicitly created due to usage of a higher
+ * stream ordinal.
+ */
+ uint64_t next_remote_stream_ordinal_bidi;
+ uint64_t next_remote_stream_ordinal_uni;
+
+ /*
* Application error code to be used for STOP_SENDING/RESET_STREAM frames
* used to autoreject incoming streams.
*/