remove php
This commit is contained in:
1
blank.file
Normal file
1
blank.file
Normal file
File diff suppressed because one or more lines are too long
7
e.php
7
e.php
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
header( "HTTP/1.1 200 OK" );
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
header("Connection: keep-alive");
|
||||
?>
|
||||
19
g.php
19
g.php
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
@ini_set('zlib.output_compression', 'Off');
|
||||
@ini_set('output_buffering', 'Off');
|
||||
@ini_set('output_handler', '');
|
||||
header('HTTP/1.1 200 OK');
|
||||
header('Content-Description: File Transfer');
|
||||
header('Content-Type: application/octet-stream');
|
||||
header('Content-Disposition: attachment; filename=random.dat');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
$data = openssl_random_pseudo_bytes(1048576);
|
||||
$chunks = 4;
|
||||
for($i = 0; $i < $chunks; $i++){
|
||||
echo $data;
|
||||
flush();
|
||||
}
|
||||
?>
|
||||
@@ -1,5 +1,5 @@
|
||||
let serverEUrl = "http://localhost/speedtest/e.php";
|
||||
let serverGUrl = "http://localhost/speedtest/g.php";
|
||||
let serverEUrl = "http://localhost/speedtest/";
|
||||
let serverGUrl = "http://localhost/speedtest/blank.file";
|
||||
let status = "";
|
||||
|
||||
async function startTest(){
|
||||
|
||||
Reference in New Issue
Block a user