mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
fix
Reviewed-By: Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/joyent/node/pull/25739
This commit is contained in:
1 parent
22997731e6
commit
b8d47a7b6f
1 file changed
+3
-4
@@ -25,10 +25,9 @@ var server = tls.createServer({
|
||||
socket.destroySoon();
|
||||
});
|
||||
|
||||
// Should not be actually called
|
||||
server.on('resumeSession', function (id, callback) {
|
||||
assert(false);
|
||||
});
|
||||
server.on('resumeSession', common.mustCall(function() {
|
||||
// Should not be actually called
|
||||
}, 0));
|
||||
|
||||
server.listen(common.PORT, function() {
|
||||
var client = tls.connect({
|
||||
|
||||
Reference in new issue
Block a user