maidsafe-archive / crust

Reliable p2p network connections in Rust with NAT traversal. One of the most needed libraries for any server-less / decentralised projects
BSD 3-Clause "New" or "Revised" License
956 stars 126 forks source link

External reachability test should not make a connection attempt fail #1140

Open douglascaetano opened 5 years ago

douglascaetano commented 5 years ago

External reachability should not make a connection attempt fail. Instead, the result of the test should be reported to the upper layer. The test must be executed based on setting by set_ext_reachability_test.

Also, bootstrapping should not test for external reachability anymore; it should be tested only on connect calls.