Sender does not timeout
simon-fu opened this issue · 2 comments
simon-fu commented
- run examples
-
- cargo run --release --example receiver
-
- cargo run --release --example sender
- press Ctrl + C to stop receiving
- sender still keep sending data infinitely
my question is:
How do sender detect receiver closed or detect sending timeout ?
russelltg commented
This is actually a bug--I've added a (currently disabled) unit test: 58cb7cf
@robertream If you have some time, you're more familiar with this code than me. I may give it a look at some point too