From 198d97c14e60ef112d443a619378233bd789e743 Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Thu, 17 Nov 2022 15:30:22 +0000 Subject: [PATCH] QUIC: Add miscellaneous QUIC constants Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19703) --- include/internal/quic_types.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/internal/quic_types.h b/include/internal/quic_types.h index 95c0508624c..7e1a3c2c6a2 100644 --- a/include/internal/quic_types.h +++ b/include/internal/quic_types.h @@ -84,4 +84,11 @@ static ossl_unused ossl_inline int ossl_quic_conn_id_eq(const QUIC_CONN_ID *a, #define QUIC_DEFAULT_ACK_DELAY_EXP 3 #define QUIC_MAX_ACK_DELAY_EXP 20 +#define QUIC_DEFAULT_MAX_ACK_DELAY 25 + +#define QUIC_MIN_ACTIVE_CONN_ID_LIMIT 2 + +/* Arbitrary choice of default idle timeout (not an RFC value). */ +#define QUIC_DEFAULT_IDLE_TIMEOUT 30000 + #endif -- 2.47.2