johnyburd / net-route

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

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

Open vczr opened 3 weeks ago

vczr commented 3 weeks 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!!