The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-tls-request-timeout.js @ 6f043940

History | View | Annotate | Download (1.78 KB)

# Date Author Comment
3806cf0d 09/14/2012 06:19 PM Ben Noordhuis

test: set rejectUnauthorized in tls/https tests

Update the tls and https tests to explicitly set rejectUnauthorized instead of
relying on the NODE_TLS_REJECT_UNAUTHORIZED environment variable getting set.

35607f3a 09/14/2012 06:19 PM Ben Noordhuis

tls, https: validate server certificate by default

This commit changes the default value of the rejectUnauthorized option from
false to true.

What that means is that tls.connect(), https.get() and https.request() will
reject invalid server certificates from now on, including self-signed...

39484f49 01/08/2012 05:13 AM Maciej Małecki

test tls: make tests use new `tls.connect` API

Refs #1983.

1fde5f51 05/14/2011 04:38 PM Felix Geisendörfer

Make https 'timeout' events bubble up

Also adds a test case for it.