Open Fraser999 opened 11 years ago
Migrated from https://github.com/maidsafe/MaidSafe/issues/16
Once after reporting ConnectionLost() for last connection (except bootstrap connection). Rudp should not allow any new incoming activity until user re bootstraps.
TESTrouting: /home/maidsafe/super/MaidSafe/src/rudp/src/maidsafe/rudp/managed_connections.cc:107: int maidsafe::rudp::ManagedConnections::Bootstrap(const std::vectorboost::asio::ip::basic_endpoint&, maidsafe::rudp::MessageReceivedFunctor, maidsafe::rudp::ConnectionLostFunctor, maidsafe::NodeId, std::shared_ptrCryptoPP::InvertibleRSAFunction, std::shared_ptrCryptoPP::RSAFunction, maidsafe::NodeId&, maidsafe::rudp::NatType&, maidsafe::rudp::{anonymous}::Endpoint): Assertion `connection_details.second->GetConnection(connection_details.first)->state() == detail::Connection::State::kBootstrapping' failed.
Migrated from https://github.com/maidsafe/MaidSafe/issues/16
Once after reporting ConnectionLost() for last connection (except bootstrap connection). Rudp should not allow any new incoming activity until user re bootstraps.
TESTrouting: /home/maidsafe/super/MaidSafe/src/rudp/src/maidsafe/rudp/managed_connections.cc:107: int maidsafe::rudp::ManagedConnections::Bootstrap(const std::vectorboost::asio::ip::basic_endpoint&, maidsafe::rudp::MessageReceivedFunctor, maidsafe::rudp::ConnectionLostFunctor, maidsafe::NodeId, std::shared_ptrCryptoPP::InvertibleRSAFunction, std::shared_ptrCryptoPP::RSAFunction, maidsafe::NodeId&, maidsafe::rudp::NatType&, maidsafe::rudp::{anonymous}::Endpoint): Assertion `connection_details.second->GetConnection(connection_details.first)->state() == detail::Connection::State::kBootstrapping' failed.