Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+17 more

    Repair Happy Eyeballs Race Bugs

    1

    Repair Happy Eyeballs races that publish stale winners, leak losing sockets, or misreport dual-stack connection failures.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Our Go HTTP client uses a custom Happy Eyeballs dialer. IPv6 starts first and IPv4 starts after the configured delay. When both connects complete at the same barrier, both goroutines can send a socket to the result channel; the second socket leaks, and during cancellation the cleanup path occasionally closes the actual winner. Repair with a fake resolver, fake conns, barriers, and a fake clock. Preserve address order, delay, timeout, TLS, pool, and retry settings; do not dial the network.

    Your agent does

    Dual-stack race found. IPv6 and IPv4 can both complete before the shared promise is marked, and the late callback can replace the selected socket while leaving the other open. The repair makes winner election generation-aware and atomic, closes every loser exactly once, preserves attempt errors, and validates simultaneous success, cancellation, timeout, and all-failure paths with fake sockets.

    What you get

    Prevent losing IPv4/IPv6 sockets from leaking into the background.Stop late-completing attempts from overwriting the established connection.Ensure all stagger timers are cancelled after a winner is elected.Capture and report errors from all failed connection attempts.

    About this skill

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    • One-time purchase, yours forever

    Listedtoday

    Frequently Asked Questions