quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.57k stars 364 forks source link

How to run insecure connection example? #1881

Closed jestarray closed 1 month ago

jestarray commented 1 month ago

https://github.com/quinn-rs/quinn/blob/9229c37362925c502ce6049a538cbfcf23b5ee84/quinn/examples/insecure_connection.rs#L36

^ it fails on this line

https://github.com/quinn-rs/quinn/tree/main/quinn/examples#insecure-connection-example

The documentation and book needs updating for the insecure connection example

Ralith commented 1 month ago

Thanks for the report! https://github.com/quinn-rs/quinn/pull/1882 will fix the example.