Skip to content

Revert "[c-ares DNS resolver] Fix file descriptor use-after-close bug when c-ares writes succeed but subsequent read fails"#33934

Merged
ananda1066 merged 1 commit intomasterfrom
revert-33871-fix_double_close
Aug 1, 2023
Merged

Revert "[c-ares DNS resolver] Fix file descriptor use-after-close bug when c-ares writes succeed but subsequent read fails"#33934
ananda1066 merged 1 commit intomasterfrom
revert-33871-fix_double_close

Conversation

@ananda1066
Copy link
Copy Markdown
Contributor

Reverts #33871 due to build failures in google3.

… when c-ares writes succeed but subsequent read fails (#33871)"

This reverts commit 76203ba.
@ananda1066 ananda1066 requested review from apolcyn, ctiller and yijiem July 31, 2023 23:48
@ananda1066 ananda1066 requested a review from markdroth as a code owner July 31, 2023 23:48
@ananda1066 ananda1066 enabled auto-merge (squash) July 31, 2023 23:48
@ananda1066 ananda1066 added the release notes: no Indicates if PR should not be in release notes label Jul 31, 2023
@ananda1066 ananda1066 merged commit 9aca06d into master Aug 1, 2023
@ananda1066 ananda1066 deleted the revert-33871-fix_double_close branch August 1, 2023 00:48
@copybara-service copybara-service bot added the imported Specifies if the PR has been imported to the internal repository label Aug 1, 2023
apolcyn added a commit to apolcyn/grpc that referenced this pull request Aug 1, 2023
…lose bug when c-ares writes succeed but subsequent read fails" (grpc#33934)"

This reverts commit 9aca06d.
apolcyn added a commit that referenced this pull request Aug 1, 2023
…descriptor use-after-close bug when c-ares writes succeed but subsequent read fails" (#33934)" (#33942)

Rolls forward #33871

Second and third commits here fix internal build issues

In particular, add a `// IWYU pragma: no_include <ares_build.h>` since
`ares.h` [includes that
anyways](https://github.com/c-ares/c-ares/blob/bad62225b7f6b278b92e8e85a255600b629ef517/include/ares.h#L23)
(and seems unlikely for that to change since it would be breaking)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bloat/improvement imported Specifies if the PR has been imported to the internal repository lang/c++ lang/core per-call-memory/neutral per-channel-memory/neutral release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants