summaryrefslogtreecommitdiff
path: root/ssl/quic/quic_channel_local.h
diff options
context:
space:
mode:
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 3645c277dd..a1ce833f56 100644
--- a/ssl/quic/quic_channel_local.h
+++ b/ssl/quic/quic_channel_local.h
@@ -167,6 +167,12 @@ struct quic_channel_st {
uint64_t next_local_stream_ordinal_bidi;
uint64_t next_local_stream_ordinal_uni;
+ /*
+ * Application error code to be used for STOP_SENDING/RESET_STREAM frames
+ * used to autoreject incoming streams.
+ */
+ uint64_t incoming_stream_auto_reject_aec;
+
/* Valid if we are in the TERMINATING or TERMINATED states. */
QUIC_TERMINATE_CAUSE terminate_cause;
@@ -290,6 +296,9 @@ struct quic_channel_st {
* 10.1).
*/
unsigned int have_sent_ack_eliciting_since_rx : 1;
+
+ /* Should incoming streams automatically be rejected? */
+ unsigned int incoming_stream_auto_reject : 1;
};
# endif