Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move connection manager singleton to namespace #4691

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

@EPuncker EPuncker requested review from ranisalt and nekiro 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: No status
Development

Successfully merging this pull request may close these issues.

None yet

2 participants