Skip to content

Fix linked list logic in windows getaddrinfo#4578

Merged
vtjnash merged 1 commit intolibuv:v1.xfrom
ThadHouse:getaddrinfofix
Oct 17, 2024
Merged

Fix linked list logic in windows getaddrinfo#4578
vtjnash merged 1 commit intolibuv:v1.xfrom
ThadHouse:getaddrinfofix

Conversation

@ThadHouse
Copy link
Copy Markdown
Contributor

The logic in #4254 is incorrect, and results in the addrinfo linked list only having a single result. Fix this by correcting the logic.

Closes #4577

Copy link
Copy Markdown
Member

@saghul saghul left a comment

Choose a reason for hiding this comment

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

Good catch!

@vtjnash vtjnash merged commit 52a9243 into libuv:v1.x Oct 17, 2024
@clason
Copy link
Copy Markdown
Contributor

clason commented Oct 19, 2024

@vtjnash Sorry to be "that guy" again, but this commit seems to have broken Neovim tests: https://github.com/neovim/neovim/actions/runs/11416186835/job/31767451321?pr=30861#step:7:9106
(test failure is consistent)

To reproduce (on Windows):

  • git clone https://github.com/neovim/neovim
  • edit cmake.deps/deps.txt to point to v1.49.2 (or a local checkout thereof)
  • make functionaltest TEST_FILE=test/functional/lua/vim_spec.lua

@clason
Copy link
Copy Markdown
Contributor

clason commented Oct 19, 2024

Ah, sorry, the changelog lied to me -- it might be one of the other, unlisted, win commits in 1.49.2.

EDIT: No, bisected the test failure to this commit.

@clason
Copy link
Copy Markdown
Contributor

clason commented Oct 19, 2024

Sorry, turns out that this was just very stubborn flake on this test that happened to pass only on that one commit.

Sorry for the noise!

@bnoordhuis
Copy link
Copy Markdown
Member

No problem, better too much noise than too little. We always want to hear about potential regressions.

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.

uv_getaddrinfo on Windows always returns just a single address

5 participants