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-https-drain.js @ 6f043940

History | View | Annotate | Download (2.76 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...

5451ba3a 11/27/2011 02:31 AM koichik

tls: fix https with fs.openReadStream hangs

Fixes #2185.
Fixes #2198.