";
@@ -302,7 +302,7 @@ namespace http {
for (auto& it: i2p::client::context.GetDestinations ())
{
auto ident = it.second->GetIdentHash ();
- s << "
";
+ s << "";
s << i2p::client::context.GetAddressBook ().ToAddress(ident) << "\r\n" << std::endl;
}
@@ -317,7 +317,7 @@ namespace http {
{
auto ident = dest->GetIdentHash ();
auto& name = dest->GetNickname ();
- s << "
[ ";
+ s << "[ ";
s << name << " ] ⇔ " << i2p::client::context.GetAddressBook ().ToAddress(ident) <<"
\r\n" << std::endl;
}
}
@@ -487,31 +487,31 @@ namespace http {
{
/* commands */
s << "
Router Commands\r\n
\r\n";
- s << "
Run peer test\r\n";
- //s << "
Reload config\r\n";
+ s << "
Run peer test\r\n";
+ //s << "
Reload config\r\n";
if (i2p::context.AcceptsTunnels ())
- s << "
Decline transit tunnels\r\n";
+ s << "
Decline transit tunnels\r\n";
else
- s << "
Accept transit tunnels\r\n";
+ s << "
Accept transit tunnels\r\n";
#if (!defined(WIN32) && !defined(QT_GUI_LIB) && !defined(ANDROID))
if (Daemon.gracefulShutdownInterval)
- s << "
Cancel graceful shutdown";
+ s << "
Cancel graceful shutdown";
else
- s << "
Start graceful shutdown\r\n";
+ s << "
Start graceful shutdown\r\n";
#elif defined(WIN32_APP)
if (i2p::util::DaemonWin32::Instance().isGraceful)
- s << "
Cancel graceful shutdown";
+ s << "
Cancel graceful shutdown";
else
- s << "
Graceful shutdown\r\n";
+ s << "
Graceful shutdown\r\n";
#endif
- s << "
Force shutdown\r\n";
+ s << "
Force shutdown\r\n";
s << "
\r\n
Logging level\r\n";
- s << "
[none] ";
- s << "
[error] ";
- s << "
[warn] ";
- s << "
[info] ";
- s << "
[debug]\r\n";
+ s << "
[none] ";
+ s << "
[error] ";
+ s << "
[warn] ";
+ s << "
[info] ";
+ s << "
[debug]\r\n";
}
void ShowTransitTunnels (std::stringstream& s)
@@ -626,7 +626,7 @@ namespace http {
for (auto& it: sam->GetSessions ())
{
auto& name = it.second->localDestination->GetNickname ();
- s << "
";
+ s << "";
s << name << " (" << it.first << ")\r\n" << std::endl;
}
}
@@ -645,7 +645,7 @@ namespace http {
return;
}
auto& ident = session->localDestination->GetIdentHash();
- s << "
";
+ s << "";
s << i2p::client::context.GetAddressBook ().ToAddress(ident) << "\r\n";
s << "
\r\n";
s << "
Streams:\r\n";
@@ -669,7 +669,7 @@ namespace http {
for (auto& it: i2p::client::context.GetClientTunnels ())
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << it.second->GetName () << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -678,7 +678,7 @@ namespace http {
if (httpProxy)
{
auto& ident = httpProxy->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << "HTTP Proxy" << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -687,7 +687,7 @@ namespace http {
if (socksProxy)
{
auto& ident = socksProxy->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << "SOCKS Proxy" << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -698,7 +698,7 @@ namespace http {
for (auto& it: serverTunnels)
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << it.second->GetName () << " ⇒ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << ":" << it.second->GetLocalPort ();
@@ -712,7 +712,7 @@ namespace http {
for (auto& it: clientForwards)
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << it.second->GetName () << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -725,7 +725,7 @@ namespace http {
for (auto& it: serverForwards)
{
auto& ident = it.second->GetLocalDestination ()->GetIdentHash();
- s << "
";
+ s << "";
s << it.second->GetName () << " ⇐ ";
s << i2p::client::context.GetAddressBook ().ToAddress(ident);
s << "
\r\n"<< std::endl;
@@ -980,7 +980,7 @@ namespace http {
return;
}
s << "
SUCCESS: Command accepted
\r\n";
- s << "
Back to commands list\r\n";
+ s << "
Back to commands list\r\n";
s << "
You will be redirected in 5 seconds";
res.add_header("Refresh", "5; url=/?page=commands");
}