-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
The current implementation using the berkley socket API for TCP is a nightmare, primarily due to it being difficult to a) shut down TCP neatly and b) recover from transient "errors" that reset connections.
Fortunately quinn
doesn't have these issues and is great to work with.
This will involve one big API change: Sender::new
and Receiver::new
will be replaced by let (sender, receiver) = channel();
, which mirrors futures::channel::mpsc::channel()
. Sender
s and Receiver
s will be (de)serializable. This will also ensure static type safety 🎉
Metadata
Metadata
Assignees
Labels
No labels