Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept session resumption IDs #150

Closed
bjb568 opened this issue Oct 20, 2015 · 1 comment
Closed

Accept session resumption IDs #150

bjb568 opened this issue Oct 20, 2015 · 1 comment

Comments

@bjb568
Copy link

bjb568 commented Oct 20, 2015

With the https module I could do this to accept the session resumption IDs that are automatically set:

var sslSessionCache = {};
server.on('newSession', function(sessionId, sessionData, callback) {
    sslSessionCache[sessionId] = sessionData;
    callback();
});
server.on('resumeSession', function (sessionId, callback) {
    callback(null, sslSessionCache[sessionId]);
});

This module also sets IDs but doesn't seem to accept them. Is there a way to make this work? I would prefer to have it fire the same events as the https module.

@nwgh
Copy link
Collaborator

nwgh commented Jan 8, 2016

Yes, it would be good to enable session resumption with h2. Putting this in the backlog.

@nwgh nwgh closed this as completed Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants