node/test/internet
Daeyeon Jeong 1400796cef net,tls: pass a valid socket on tlsClientError
On the 'tlsClientError' event, the `tlsSocket` instance is passed as
`closed` status. Thus, users can't get information such as `remote
address`, `remoteFamily`, and so on.

This adds a flag to close a socket after emitting an `error` event.

Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: https://github.com/nodejs/node/pull/44021
Fixes: https://github.com/nodejs/node/issues/43963
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2022-10-11 14:45:21 -05:00
..
internet.status
test-corepack-yarn-install.js test: do not run test-corepack-yarn-install with no internet 2021-09-22 00:27:13 +01:00
test-dgram-broadcast-multi-process.js test: enable no-empty ESLint rule 2022-03-14 09:32:21 -04:00
test-dgram-connect.js
test-dgram-membership.js
test-dgram-multicast-multi-process.js test: enable no-empty ESLint rule 2022-03-14 09:32:21 -04:00
test-dgram-multicast-set-interface-lo.js
test-dgram-multicast-ssm-multi-process.js test: enable no-empty ESLint rule 2022-03-14 09:32:21 -04:00
test-dgram-multicast-ssmv6-multi-process.js test: enable no-empty ESLint rule 2022-03-14 09:32:21 -04:00
test-dns-any.js
test-dns-cares-domains.js
test-dns-idna2008.js
test-dns-ipv4.js
test-dns-ipv6.js
test-dns-lookup.js
test-dns-promises-resolve.js
test-dns-regress-6244.js
test-dns-setserver-in-callback-of-resolve4.js
test-dns-txt-sigsegv.js
test-dns.js
test-http-dns-fail.js
test-http-https-default-ports.js
test-http2-issue-32922.js
test-https-issue-43963.js net,tls: pass a valid socket on tlsClientError 2022-10-11 14:45:21 -05:00
test-inspector-help-page.js test: fix internet/test-inspector-help-page 2022-10-11 14:45:09 -05:00
test-net-connect-timeout.js
test-net-connect-unref.js
test-tls-add-ca-cert.js
test-trace-events-dns.js
test-uv-threadpool-schedule.js
testcfg.py