This commit is contained in:
Ylian Saint-Hilaire 2022-07-03 20:58:14 -07:00
commit a0ae340e6e
3 changed files with 25 additions and 20 deletions

View File

@ -642,12 +642,14 @@ module.exports.CreateWebRelay = function (parent, db, args, domain) {
}
} else {
// Tunnel is now in web socket pass-thru mode
if ((typeof header.connection == 'string') && (header.connection.toLowerCase() == 'upgrade')) {
// Websocket upgrade succesful
obj.socketParseState = 2;
} else {
// Unable to upgrade to web socket
obj.close();
if (header != null) {
if ((typeof header.connection == 'string') && (header.connection.toLowerCase() == 'upgrade')) {
// Websocket upgrade succesful
obj.socketParseState = 2;
} else {
// Unable to upgrade to web socket
obj.close();
}
}
}
}

View File

@ -36,10 +36,10 @@ Chat
Legend
* **_Black color_**: Device is powered on
* **_Black color_**: Device is powered on (Intel AMT & agents)
* **_Purple color_**: Device is in sleep state (Intel AMT agents only)
* **_Teal color_**: Device is connected through AMT/CIRA, but not powered on (Intel AMT agents only)
* **_Grey color_**: Device is powered off (Intel AMT agents only)
* **_Grey color_**: Device is powered off (Intel AMT & agents)
### Text Links

View File

@ -28179,6 +28179,7 @@
},
{
"en": "Gateway: {0}",
"nl": "Gateway: {0}",
"xloc": [
"default-mobile.handlebars->11->556",
"default.handlebars->45->1453"
@ -29324,12 +29325,14 @@
{
"de": "HTTP Verbindung",
"en": "HTTP Connection",
"nl": "HTTP verbinding",
"xloc": [
"default.handlebars->45->750"
]
},
{
"en": "HTTP remote connection port:",
"nl": "HTTP poort voor externe verbinding:",
"xloc": [
"default.handlebars->45->749"
]
@ -29362,12 +29365,14 @@
{
"de": "HTTPS Verbindung",
"en": "HTTPS Connection",
"nl": "HTTPS verbinding",
"xloc": [
"default.handlebars->45->752"
]
},
{
"en": "HTTPS remote connection port:",
"nl": "HTTPS poort voor externe verbinding:",
"xloc": [
"default.handlebars->45->751"
]
@ -39180,6 +39185,7 @@
},
{
"en": "Mask: {0}",
"nl": "Mask: {0}",
"xloc": [
"default-mobile.handlebars->11->555",
"default.handlebars->45->1452"
@ -75613,9 +75619,6 @@
"default-mobile.handlebars->11->144"
]
},
{
"en": "Á/span>"
},
{
"cs": "↺",
"da": "↺",