mirror of
https://github.com/Ylianst/MeshCommander
synced 2025-12-06 06:03:20 +00:00
Allow HTTP pipelining on new AMT versions.
This commit is contained in:
@@ -595,7 +595,10 @@ function AmtStackCreateService(wsmanStack) {
|
|||||||
if (eventSensorType == 6) return "Authentication failed " + (eventDataField[1] + (eventDataField[2] << 8)) + " times. The system may be under attack.";
|
if (eventSensorType == 6) return "Authentication failed " + (eventDataField[1] + (eventDataField[2] << 8)) + " times. The system may be under attack.";
|
||||||
if (eventSensorType == 30) return "No bootable media";
|
if (eventSensorType == 30) return "No bootable media";
|
||||||
if (eventSensorType == 32) return "Operating system lockup or power interrupt";
|
if (eventSensorType == 32) return "Operating system lockup or power interrupt";
|
||||||
if (eventSensorType == 35) return "System boot failure";
|
if (eventSensorType == 35) {
|
||||||
|
if (eventDataField[0] == 64) return "BIOS POST (Power On Self-Test) Watchdog Timeout."; // 64,2,252,84,89,0,0,0
|
||||||
|
return "System boot failure";
|
||||||
|
}
|
||||||
if (eventSensorType == 37) return "System firmware started (at least one CPU is properly executing).";
|
if (eventSensorType == 37) return "System firmware started (at least one CPU is properly executing).";
|
||||||
return "Unknown Sensor Type #" + eventSensorType;
|
return "Unknown Sensor Type #" + eventSensorType;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4898,6 +4898,9 @@
|
|||||||
amtversion = parseInt(v.split('.')[0]);
|
amtversion = parseInt(v.split('.')[0]);
|
||||||
amtversionmin = parseInt(v.split('.')[1]);
|
amtversionmin = parseInt(v.split('.')[1]);
|
||||||
|
|
||||||
|
// If this is Intel AMT 16 or higher, boost the stack speed by allowing HTTP pipelining.
|
||||||
|
if (amtversion > 15) { stack.wsman.comm.MaxActiveAjaxCount = 8; }
|
||||||
|
|
||||||
// ###BEGIN###{Mode-NodeWebkit}
|
// ###BEGIN###{Mode-NodeWebkit}
|
||||||
// Perform Intel ME authentication if available.
|
// Perform Intel ME authentication if available.
|
||||||
if ((amtversion >= 15) && (wsstack.comm.xtlsCertificate != null)) {
|
if ((amtversion >= 15) && (wsstack.comm.xtlsCertificate != null)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user