mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-16 12:51:21 +00:00
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:
parent
d605255fec
commit
3a0f0c292a
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user