diff --git a/doc.md b/doc.md index 2a847da..20b90db 100644 --- a/doc.md +++ b/doc.md @@ -38,6 +38,20 @@ This command starts LibreSpeed in standalone mode, with telemetry, ID obfuscatio docker run -e MODE=standalone -e TELEMETRY=true -e ENABLE_ID_OBFUSCATION=true -e PASSWORD="botnet!123" -p 80:80 -it adolfintel/speedtest ``` +### Multiple Points of Test +If you want to use more than one test server, this is the time to add all your test points and select the best one. Skip this part if you don't want to use this feature. + +The best way to do this is to declare an array with all your servers, and give it to the speedtest: +```js +var SPEEDTEST_SERVERS=[ + server1, + server2, + ... +]; +s.addTestPoints(SPEEDTEST_SERVERS); +>>>>>>> master +``` + ## Multiple Points of Test For multiple servers, you need to set up 1+ LibreSpeed backends, and 1 LibreSpeed frontend. diff --git a/speedtest_worker.js b/speedtest_worker.js index 814a2ad..43958d2 100644 --- a/speedtest_worker.js +++ b/speedtest_worker.js @@ -126,10 +126,6 @@ this.addEventListener("message", function(e) { if (settings.enable_quirks || (typeof s.enable_quirks !== "undefined" && s.enable_quirks)) { var ua = navigator.userAgent; if (/Firefox.(\d+\.\d+)/i.test(ua)) { - if (typeof s.xhr_ulMultistream === "undefined") { - // ff more precise with 1 upload stream - settings.xhr_ulMultistream = 1; - } if (typeof s.ping_allowPerformanceApi === "undefined") { // ff performance API sucks settings.ping_allowPerformanceApi = false;