mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
The TLS address-selection test connects to nodejs.org twice. A reset can fail the test before the handshake completes, and the addresses returned by DNS determine whether the client ever tries a second one. Run a TLS server on IPv4 loopback. With address-family selection enabled, return IPv6 loopback first so the client has to switch TCP handles. Check which server name reaches the server and keep certificate verification enabled on the client. Refs: https://github.com/nodejs/node/issues/46679 Assisted-by: Codex Signed-off-by: Tamir Duberstein <tamird@gmail.com> PR-URL: https://github.com/nodejs/node/pull/67595 Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>