From: Aleš Mrázek Date: Mon, 2 Feb 2026 10:43:11 +0000 (+0100) Subject: datamodel: network: removed layer from QUICSchema X-Git-Tag: v6.2.0~2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817de7ba654cc542bcf9ae4d185b913321eb4213;p=thirdparty%2Fknot-resolver.git datamodel: network: removed layer from QUICSchema There is no reason for two layers here. --- diff --git a/python/knot_resolver/datamodel/network_schema.py b/python/knot_resolver/datamodel/network_schema.py index 787ee67dd..4b957335f 100644 --- a/python/knot_resolver/datamodel/network_schema.py +++ b/python/knot_resolver/datamodel/network_schema.py @@ -50,22 +50,15 @@ class AddressRenumberingSchema(ConfigSchema): class QUICSchema(ConfigSchema): - class Raw(ConfigSchema): - """ - Optional DoQ configuration. - - --- - max_conns: Maximum number of active connections a single worker is allowed to accept. - max_streams: Maximum number of concurrent streams a connection is allowed to open. - require_retry: Require address validation for unknown source addresses. - This adds a 1-RTT delay to connection establishment. - """ - - max_conns: Int1_4096 = Int1_4096(1024) - max_streams: Int1_4096 = Int1_4096(1024) - require_retry: bool = False + """ + Optional DoQ configuration. - _LAYER = Raw + --- + max_conns: Maximum number of active connections a single worker is allowed to accept. + max_streams: Maximum number of concurrent streams a connection is allowed to open. + require_retry: Require address validation for unknown source addresses. + This adds a 1-RTT delay to connection establishment. + """ max_conns: Int1_4096 = Int1_4096(1024) max_streams: Int1_4096 = Int1_4096(1024)