mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-06-04 23:51:49 +00:00
don't show endpoint for terminated or closed SAM streams
This commit is contained in:
@@ -1026,7 +1026,8 @@ namespace http {
|
||||
case i2p::client::SAMSocketType::eSAMSocketTypeForward : s << "forward"; break;
|
||||
default: s << "unknown"; break;
|
||||
}
|
||||
s << " [" << it->GetSocket ().remote_endpoint() << "]";
|
||||
if (it->GetSocketType () != i2p::client::SAMSocketType::eSAMSocketTypeTerminated && it->GetSocket ().is_open ())
|
||||
s << " [" << it->GetSocket ().remote_endpoint() << "]";
|
||||
s << "</div>\r\n";
|
||||
}
|
||||
s << "</div>\r\n";
|
||||
|
||||
Reference in New Issue
Block a user