try to pick an outbound tunnel with same endpoint instead expired

This commit is contained in:
orignal 2015-04-17 10:11:51 -04:00
parent 873754c6ca
commit fcb56db224
3 changed files with 19 additions and 1 deletions

View file

@ -43,6 +43,7 @@ namespace tunnel
std::vector<std::shared_ptr<InboundTunnel> > GetInboundTunnels (int num) const;
std::shared_ptr<OutboundTunnel> GetNextOutboundTunnel (std::shared_ptr<OutboundTunnel> excluded = nullptr) const;
std::shared_ptr<InboundTunnel> GetNextInboundTunnel (std::shared_ptr<InboundTunnel> excluded = nullptr) const;
std::shared_ptr<OutboundTunnel> GetNewOutboundTunnel (std::shared_ptr<OutboundTunnel> old) const;
void TestTunnels ();
void ProcessGarlicMessage (I2NPMessage * msg);