diff --git a/ChangeLog b/ChangeLog index 98b33e81..dd1bac57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ # for this file format description, # see https://github.com/olivierlacan/keep-a-changelog +## [2.10.1] - 2016-11-07 +### Fixed +- Fixed some performance issues for Windows and Android + ## [2.10.0] - 2016-10-17 ### Added - Datagram i2p tunnels diff --git a/Destination.h b/Destination.h index ba19a32a..121b7e16 100644 --- a/Destination.h +++ b/Destination.h @@ -143,6 +143,7 @@ namespace client // for HTTP only int GetNumRemoteLeaseSets () const { return m_RemoteLeaseSets.size (); }; + const decltype(m_RemoteLeaseSets)& GetLeaseSets () const { return m_RemoteLeaseSets; }; }; class ClientDestination: public LeaseSetDestination diff --git a/HTTPServer.cpp b/HTTPServer.cpp index 99edf508..556051aa 100644 --- a/HTTPServer.cpp +++ b/HTTPServer.cpp @@ -225,7 +225,7 @@ namespace http { else s << numKBytesSent / 1024 / 1024 << " GiB"; s << " (" << (double) i2p::transport::transports.GetOutBandwidth () / 1024 << " KiB/s)
\r\n"; - s << "Data path: " << i2p::fs::GetDataDir() << "
\r\n
\r\n"; + s << "Data path: " << i2p::fs::GetDataDir() << "
\r\n"; s << "
\r\n\r\n

\r\n"; s << "Router Ident: " << i2p::context.GetRouterInfo().GetIdentHashBase64() << "
\r\n"; s << "Router Family: " << i2p::context.GetRouterInfo().GetProperty("family") << "
\r\n"; @@ -253,7 +253,7 @@ namespace http { s << address->host.to_string() << ":" << address->port << "
\r\n"; } s << "

\r\n
\r\n"; - s << "
\r\nRouters: " << i2p::data::netdb.GetNumRouters () << " "; + s << "Routers: " << i2p::data::netdb.GetNumRouters () << " "; s << "Floodfills: " << i2p::data::netdb.GetNumFloodfills () << " "; s << "LeaseSets: " << i2p::data::netdb.GetNumLeaseSets () << "
\r\n"; @@ -287,6 +287,13 @@ namespace http { s << "Base64:
\r\n
\r\n
\r\n"; s << "LeaseSets: " << dest->GetNumRemoteLeaseSets () << "
\r\n"; + if(dest->GetNumRemoteLeaseSets()) + { + s << "
\r\n\r\n

\r\n"; + for(auto& it: dest->GetLeaseSets ()) + s << it.second->GetIdentHash ().ToBase32 () << "
\r\n"; + s << "

\r\n
\r\n"; + } auto pool = dest->GetTunnelPool (); if (pool) { diff --git a/debian/changelog b/debian/changelog index 1ecafa34..f71b2e4a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +i2pd (2.10.1-1) unstable; urgency=low + + * updated to version 2.10.1 + + -- orignal Mon, 7 Nov 2016 14:18:30 +0000 + i2pd (2.10.0-1) unstable; urgency=low * updated to version 2.10.0/0.9.27