Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/joyent/node/pull/25739
This commit is contained in:
Fedor Indutny committed 2015-07-20 11:47:07 -07:00
1 parent 22997731e6
commit b8d47a7b6f
1 file changed
+3 -4
+3 -4
View File
@@ -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({