Zebra/zebra-network/src/peer_set
Jane Lusby 431f194c0f
propagate errors out of zebra_network::init (#435)
Prior to this change, the service returned by `zebra_network::init` would spawn background tasks that could silently fail, causing unexpected errors in the zebra_network service.

This change modifies the `PeerSet` that backs `zebra_network::init` to store all of the `JoinHandle`s for each background task it depends on. The `PeerSet` then checks this set of futures to see if any of them have exited with an error or a panic, and if they have it returns the error as part of `poll_ready`.
2020-06-09 12:24:28 -07:00
..
candidate_set.rs cleanup warnings throughout codebase 2020-05-27 15:42:29 -04:00
initialize.rs propagate errors out of zebra_network::init (#435) 2020-06-09 12:24:28 -07:00
set.rs propagate errors out of zebra_network::init (#435) 2020-06-09 12:24:28 -07:00
unready_service.rs Upgrade tokio, futures, hyper to released versions. 2019-12-13 17:42:15 -05:00