quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Add mutual_cluster example #1739

Closed alexchamberlain closed 6 months ago

alexchamberlain commented 8 months ago

Add a more detailed example of running multiple processes that mutually authenticate with one another. This demonstrates:

There might be a couple of points of clean up on this one, but I think it's good enough to share. I understand this is a slighly bigger example than some of the others, but it took me a while to figure out how to get the crates to play together and I figured others might find it useful; is this of interest?

djc commented 8 months ago

This seems pretty specific for the Quinn repo, and it spends quite a bit of code on things that would be better documented over in the rcgen repo instead of this repo.