johnyburd / net-route

Rust crate providing a cross platform interface for interacting with the routing table
https://docs.rs/net-route/
21 stars 14 forks source link

route_listen_stream blocked after about 1 hour on MacOS 15.0 Beta #29

Open vczr opened 2 months ago

vczr commented 2 months ago

hey guys, now i have a problem. I have a rust application to fix my route’s default role when the default role is deleted, like this :

image

It works well for the first hour. But after one hour, the listener can't receive events. At first, i thought the listener is break by some reason. So i put the code in a loop ,like this:

image

But line 103 is never printed.

Can anyone give me some suggestion? Thanks!!