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.
This commit is contained in:
Max Inden 2023-10-10 15:05:54 +02:00 committed by GitHub
parent d605255fec
commit 3a0f0c292a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,10 +76,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
noise::Config::new, noise::Config::new,
yamux::Config::default, yamux::Config::default,
)? )?
.with_quic_config(|mut cfg| { .with_quic()
cfg.support_draft_29 = true;
cfg
})
.with_dns()? .with_dns()?
.with_behaviour(|key| { .with_behaviour(|key| {
behaviour::Behaviour::new(key.public(), opt.enable_kademlia, opt.enable_autonat) behaviour::Behaviour::new(key.public(), opt.enable_kademlia, opt.enable_autonat)