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

Shutdown on connecting #693

Closed
wants to merge 5 commits into from
Closed

Shutdown on connecting #693

wants to merge 5 commits into from

Conversation

aberaud
Copy link
Member

@aberaud aberaud commented Mar 20, 2024

No description provided.

}
resolver_->cancel();
Copy link
Contributor

Choose a reason for hiding this comment

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

resolver_ --> resolver

@@ -190,10 +190,12 @@ void
DhtProxyClient::stop()
{
if (not isDestroying_.exchange(true)) {
std::shared_ptr<Resolver> resolver;
Copy link
Contributor

@atraczyk atraczyk Mar 20, 2024

Choose a reason for hiding this comment

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

http::Resolver

@atraczyk
Copy link
Contributor

atraczyk commented Mar 20, 2024

shutdown-while-connecting blocking seems to reduced with this stack

@aberaud aberaud closed this Mar 22, 2024
@aberaud aberaud deleted the shutdown_on_connecting branch March 25, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants