Skip to content

Move connection manager singleton to namespace#4691

Closed
ramon-bernardo wants to merge 1 commit intootland:masterfrom
ramon-bernardo:connection-namespace
Closed

Move connection manager singleton to namespace#4691
ramon-bernardo wants to merge 1 commit intootland:masterfrom
ramon-bernardo:connection-namespace

Conversation

@ramon-bernardo
Copy link
Contributor

Pull Request Prelude

Changes Proposed

  • Removes the ConnectionManager singleton from the tfs::io namespace.

Comment on lines +54 to +59
void Connection::shutdownAndClose()
{
boost::system::error_code error;
socket.shutdown(boost::asio::ip::tcp::socket::shutdown_both, error);
socket.close(error);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If not, the socket should be public here to be accessed in the tfs::io::connection namespace.

@ghost ghost requested review from nekiro and ranisalt May 21, 2024 01:51
@EvilHero90 EvilHero90 added the enhancement Increase or improvement in quality, value, or extent label Jun 2, 2024
@EvilHero90 EvilHero90 added this to the 1.8 milestone Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Increase or improvement in quality, value, or extent

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants