mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
src: use HandleScope in StreamReq::Done()
Fixes: https://github.com/nodejs/node/issues/38707 PR-URL: https://github.com/nodejs/node/pull/38720 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
2054efa02c
commit
4e3353223e
2 files changed
+14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
if (!common.hasCrypto)
|
||||
common.skip('missing crypto');
|
||||
|
||||
const https = require('https');
|
||||
|
||||
const request = https.get('https://example.com');
|
||||
|
||||
request.on('socket', (socket) => {
|
||||
socket.unref();
|
||||
});
|
||||
Reference in new issue
Block a user