Skip to content

asyn-thread: fix build with CURL_DISABLE_SOCKETPAIR#16179

Closed
MarcelRaad wants to merge 1 commit intocurl:masterfrom
MarcelRaad:fix_disable_socketpair
Closed

asyn-thread: fix build with CURL_DISABLE_SOCKETPAIR#16179
MarcelRaad wants to merge 1 commit intocurl:masterfrom
MarcelRaad:fix_disable_socketpair

Conversation

@MarcelRaad
Copy link
Copy Markdown
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
Comment thread lib/asyn-thread.c Outdated
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
Copy Markdown

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
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 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
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