-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi,
I think there is an issue with HTTPS.
In index.js, function getHostHeader, I had to changed it to:
_getHostHeader(data) {
if (data[0] === 22) { //secure
let route = this.routes.get(sni(data));
if (route) { // here
return sni(data); // here
}
return null; // here
} else {
let result = data.toString('utf8').match(/^(H|h)ost: (\[[^\]]*\]|[^ \:\r\n]+)/im);
if (result) {
return result[2];
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels