From 3a0f0c292ae2d8093d276d57028d15835094e1e0 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Tue, 10 Oct 2023 15:05:54 +0200 Subject: [PATCH] fix(server): remove `support_draft_29` Support for QUIC draft 29 was removed with https://github.com/libp2p/rust-libp2p/pull/4467. https://github.com/libp2p/rust-libp2p/pull/4120 reintroduced it as a faulty merge. This commit removes it again. Pull-Request: #4622. --- misc/server/src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/misc/server/src/main.rs b/misc/server/src/main.rs index 882f538a2db..0573aae5c6f 100644 --- a/misc/server/src/main.rs +++ b/misc/server/src/main.rs @@ -76,10 +76,7 @@ async fn main() -> Result<(), Box> { noise::Config::new, yamux::Config::default, )? - .with_quic_config(|mut cfg| { - cfg.support_draft_29 = true; - cfg - }) + .with_quic() .with_dns()? .with_behaviour(|key| { behaviour::Behaviour::new(key.public(), opt.enable_kademlia, opt.enable_autonat)