Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

resumeSession hangs when no session data passed to callback in 0.12 #25735

Closed
@tlivings

Description

@tlivings

Example, this will work in 0.10:

'use strict';

var Https = require('https');
var Fs = require('fs');

var server = Https.createServer({
    cert: Fs.readFileSync('server.crt'),
    key: Fs.readFileSync('server.key')
}, function (req, res) {
    res.writeHead(200);
    res.end("hello world\n");
});

server.on('resumeSession', function (id, callback) {
    console.log('resume requested');
    callback();
});

server.listen(8000);

And hang in 0.12.

Passing no session data back should cause a new session to be created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions