]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC: Add miscellaneous QUIC constants
authorHugo Landau <hlandau@openssl.org>
Thu, 17 Nov 2022 15:30:22 +0000 (15:30 +0000)
committerHugo Landau <hlandau@openssl.org>
Fri, 13 Jan 2023 13:20:15 +0000 (13:20 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)

include/internal/quic_types.h

index 95c0508624c4408ab7926ac08ea4484d38e8cf83..7e1a3c2c6a22b3092f10fca893ef0cbe898de073 100644 (file)
@@ -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