Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Nov 27, 2024

Motivation:

In vanishingly rare situations it is possible for the AAAA results to come in on the same tick as the resolution delay timer completes. In those cases, depending on the ordering of the tasks, we can get situations where the resolution delay timer completion causes a crash.

Modifications:

Tolerate receiving the resolution delay timer after resolution completes.

Result:

Fewer crashes

(cherry picked from commit 16f19c0)

Motivation:

In vanishingly rare situations it is possible for the AAAA results to
come in on the same tick as the resolution delay timer completes. In
those cases, depending on the ordering of the tasks, we can get
situations where the resolution delay timer completion causes a crash.

Modifications:

Tolerate receiving the resolution delay timer after resolution
completes.

Result:

Fewer crashes

(cherry picked from commit 16f19c0)
@Lukasa Lukasa added the 🔨 semver/patch No public API change. label Nov 27, 2024
@Lukasa Lukasa changed the title Prevent crash in Happy Eyeballs Resolver (#3003) Backport: Prevent crash in Happy Eyeballs Resolver (#3003) Nov 27, 2024
@Lukasa Lukasa merged commit dca6594 into apple:sendable-backport-branch Nov 27, 2024
43 of 44 checks passed
@Lukasa Lukasa deleted the cb-backport-3003 branch November 27, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants