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

asyn-thread: fix build with CURL_DISABLE_SOCKETPAIR #16179

Closed
wants to merge 1 commit into from

Conversation

MarcelRaad
Copy link
Member

@MarcelRaad MarcelRaad commented Feb 5, 2025

With CURL_DISABLE_SOCKETPAIR defined and USE_HTTPSRR_ARES undefined, the local variable socketi was unused.

This fixes a regression from commit 0d4fdbf.

Closes #16179

@github-actions github-actions bot added the name lookup DNS and related tech label Feb 5, 2025
MarcelRaad added a commit to MarcelRaad/curl that referenced this pull request Feb 5, 2025
With `CURL_DISABLE_SOCKETPAIR` defined and `USE_HTTPSRR_ARES`
undefined, the local variable `socketi` was unused.

Also, the code in the `USE_HTTPSRR_ARES` block had no effect with
`CURL_DISABLE_SOCKETPAIR`, so move it into that block.

This fixes a regression from commit 0d4fdbf.

Closes curl#16179
@MarcelRaad MarcelRaad force-pushed the fix_disable_socketpair branch from 458839e to 7a02c1d Compare February 5, 2025 10:57
MarcelRaad added a commit to MarcelRaad/curl that referenced this pull request Feb 6, 2025
With `CURL_DISABLE_SOCKETPAIR` defined and `USE_HTTPSRR_ARES`
undefined, the local variable `socketi` was unused.

This fixes a regression from commit 0d4fdbf.

Closes curl#16179
@MarcelRaad MarcelRaad force-pushed the fix_disable_socketpair branch from 7a02c1d to 6b10932 Compare February 6, 2025 07:03
With `CURL_DISABLE_SOCKETPAIR` defined and `USE_HTTPSRR_ARES`
undefined, the local variable `socketi` was unused.

This fixes a regression from commit 0d4fdbf.

Closes curl#16179
@MarcelRaad MarcelRaad force-pushed the fix_disable_socketpair branch from 6b10932 to 14f3690 Compare February 6, 2025 07:06
@testclutch
Copy link

Analysis of PR #16179 at 14f3690a:

Test 1452 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 987 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 310 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

@MarcelRaad MarcelRaad closed this in c012c60 Feb 7, 2025
@MarcelRaad MarcelRaad deleted the fix_disable_socketpair branch February 7, 2025 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
name lookup DNS and related tech
Development

Successfully merging this pull request may close these issues.

3 participants