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

[C++] Fixed attempting to connect to multiple IP addresses #11958

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

merlimat
Copy link
Contributor

@merlimat merlimat commented Sep 7, 2021

Motivation

Fix #11950

In #11557 there was a fix to advance the DNS resolver result iterator before attempting to reconnect to the subsequent IP results.

The problem was that the 1st increment was not removed, so we were left to always skip the 2nd DNS result.

@merlimat merlimat added type/bug The PR fixed a bug or issue reported a bug component/c++ labels Sep 7, 2021
@merlimat merlimat added this to the 2.9.0 milestone Sep 7, 2021
@merlimat merlimat self-assigned this Sep 7, 2021
@merlimat merlimat added the doc-not-needed Your PR changes do not impact docs label Sep 7, 2021
@merlimat merlimat merged commit e4a9f66 into apache:master Sep 8, 2021
@merlimat merlimat deleted the fix-c++-tcp-attempts branch September 8, 2021 00:52
@codelipenghui codelipenghui added the cherry-picked/branch-2.8 Archived: 2.8 is end of life label Oct 11, 2021
codelipenghui pushed a commit that referenced this pull request Oct 11, 2021
bharanic-dev pushed a commit to bharanic-dev/pulsar that referenced this pull request Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked/branch-2.8 Archived: 2.8 is end of life doc-not-needed Your PR changes do not impact docs release/2.8.2 release/2.9.0 type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On master, connection attempts from the C++/Python client on "localhost" do not fall back from IPv6 to IPv4
5 participants