Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iroh-net):
poll_send
should drop transmits that we dont have a …
…`dest` for (#2393) ## Description We've learned that if we return anything other than `Ok` in `poll_send`, we will be blocking the endpoint and ruining all connections. We should not return an error just because we don't have a proper address for the `dest`, instead we should log an error and wait for the connection to timeout. By returning `Poll::Ready(Ok(n))`, we are telling quinn to drop the `n` transmits that are associated with `dest`. When quinn doesn't receive any `ACK`s for those transmits, quinn end the connection with a timeout error. ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant.
- Loading branch information