mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
Add null checks in `internalConnectMultipleTimeout` to prevent TypeError when the socket is destroyed before the timeout fires. This fixes a race condition that could occur under high concurrent load when using TLS connect with `autoSelectFamily` and `timeout` options. Fixes #25633 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>