summaryrefslogtreecommitdiff
path: root/test/simple/test-https-socket-options.js
Commit message (Collapse)AuthorAgeFilesLines
* test updates for streams2isaacs2012-12-141-0/+2
|
* test: set rejectUnauthorized in tls/https testsBen Noordhuis2012-09-151-8/+8
| | | | | Update the tls and https tests to explicitly set rejectUnauthorized instead of relying on the NODE_TLS_REJECT_UNAUTHORIZED environment variable getting set.
* tls, https: validate server certificate by defaultBen Noordhuis2012-09-151-0/+3
| | | | | | | | | | | | | | | 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 certificates. There is an escape hatch: if you set the NODE_TLS_REJECT_UNAUTHORIZED environment variable to the literal string "0", node.js reverts to its old behavior. Fixes #3949.
* tls: proxy set(Timeout|NoDelay|KeepAlive) methodsJimb Esser2012-03-031-0/+83
- fix crash calling ClientRequest::setKeepAlive if the underlying request is HTTPS. - fix discarding of callback parameter when calling ClientRequest::setTimeout on HTTPS requests. - fix discarding of noDelay parameter when calling ClientRequest::setNoDelay on HTTPS requests.