mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
add locking to SAM when adding/removing sockets
This commit is contained in:
parent
e0d5ba9915
commit
751b95d4af
3 changed files with 43 additions and 16 deletions
|
@ -749,7 +749,7 @@ namespace util
|
|||
s << "&" << HTTP_PARAM_BASE32_ADDRESS << "=" << ident.ToBase32 () << ">";
|
||||
s << i2p::client::context.GetAddressBook ().ToAddress(ident) << "</a><br>\r\n" << std::endl;
|
||||
s << "<b>Streams:</b><br>\r\n";
|
||||
for (auto it: session->sockets)
|
||||
for (auto it: session->ListSockets())
|
||||
{
|
||||
switch (it->GetSocketType ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue