Removing unused variable. (#3440)
This commit is contained in:
parent
a09a3a32bc
commit
7337ea536f
2 changed files with 0 additions and 6 deletions
|
|
@ -20,11 +20,6 @@ nano::transport::channel_tcp::~channel_tcp ()
|
|||
{
|
||||
socket_l->close ();
|
||||
}
|
||||
// Remove response server
|
||||
if (auto response_server_l = response_server.lock ())
|
||||
{
|
||||
response_server_l->stop ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,6 @@ namespace transport
|
|||
return &node == &other_a.node && socket.lock () == other_a.socket.lock ();
|
||||
}
|
||||
std::weak_ptr<nano::socket> socket;
|
||||
std::weak_ptr<nano::bootstrap_server> response_server;
|
||||
/* Mark for temporary channels. Usually remote ports of these channels are ephemeral and received from incoming connections to server.
|
||||
If remote part has open listening port, temporary channel will be replaced with direct connection to listening port soon. But if other side is behing NAT or firewall this connection can be pemanent. */
|
||||
std::atomic<bool> temporary{ false };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue