I am trying to receive datagrams on a Quic connection using two futures handled by a FuturesUnordered structure. Each future clones the connection and call read_datagram() on the cloned connection. I got a panic in quinn/src/connection.rs:730.
In order to reproduce the crash you can use my forked quinn repo and this commit. It basically setups a datagram client/server. You can reproduce the issue by running on the same machine:
cargo run --example datagram_server
cargo run --example datagram_client
Dear all,
I am trying to receive datagrams on a Quic connection using two futures handled by a FuturesUnordered structure. Each future clones the connection and call read_datagram() on the cloned connection. I got a panic in quinn/src/connection.rs:730.
In order to reproduce the crash you can use my forked quinn repo and this commit. It basically setups a datagram client/server. You can reproduce the issue by running on the same machine:
cargo run --example datagram_server cargo run --example datagram_client
Thanks for looking at this, Philippe