mirror of
https://github.com/nodejs/node.git
synced 2025-08-16 06:08:50 +02:00
tls: introduce TLSSocket based on tls_wrap binding
Split `tls.js` into `_tls_legacy.js`, containing legacy `createSecurePair` API, and `_tls_wrap.js` containing new code based on `tls_wrap` binding. Remove tests that are no longer useful/valid.
This commit is contained in:
parent
03e008ddb8
commit
af80e7bc6e
15 changed files with 1456 additions and 1765 deletions
|
@ -37,7 +37,7 @@ testURL.rejectUnauthorized = false;
|
|||
|
||||
function check(request) {
|
||||
// assert that I'm https
|
||||
assert.ok(request.socket.encrypted);
|
||||
assert.ok(request.socket._secureEstablished);
|
||||
}
|
||||
|
||||
var server = https.createServer(httpsOptions, function(request, response) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue