From: Hugo Landau Date: Thu, 17 Nov 2022 15:30:22 +0000 (+0000) Subject: QUIC: Add miscellaneous QUIC constants X-Git-Tag: openssl-3.2.0-alpha1~1500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198d97c14e60ef112d443a619378233bd789e743;p=thirdparty%2Fopenssl.git QUIC: Add miscellaneous QUIC constants Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/19703) --- 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