Skip to content

Conversation

@He-Pin
Copy link
Contributor

@He-Pin He-Pin commented Apr 15, 2023

Refs #31905

If there are multi queries issued with the same id, the current DNS client may reply the result to the wrong target.

@He-Pin He-Pin marked this pull request as draft April 15, 2023 12:30
case (s, _) =>
s ! Failure(new RuntimeException("Send failed to nameserver"))
inflightRequests -= msg.id
unstashQuestion(msg.id)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could just be unstashAll... the questions that still collide will still collide and get re-stashed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's true

@He-Pin He-Pin marked this pull request as ready for review April 17, 2023 17:53
@johanandren
Copy link
Contributor

Sorted by #31906

@He-Pin
Copy link
Contributor Author

He-Pin commented Apr 26, 2023

i think this cover different part. but feel free.

@johanandren
Copy link
Contributor

Ah, sorry, yes, this is not the async dns, but the "regular" one.

@johanandren johanandren reopened this Apr 26, 2023
@He-Pin
Copy link
Contributor Author

He-Pin commented Apr 26, 2023

If this is valid I may update this pr during the holiday.

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.

3 participants