Explorar el Código

Add test for #1046

bel2125 hace 3 años
padre
commit
1b7a69a094
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      test/flush.php

+ 11 - 0
test/flush.php

@@ -0,0 +1,11 @@
+<?php
+set_time_limit(20);
+header('Content-Type: text/plain; charset=utf-8');
+echo "CivetWeb Auto Flush Test\n";
+for($i = 0; $i <10; $i++) {
+	echo "Auto flush $i\n";
+	@ob_flush();@flush();
+	sleep(1);
+}
+echo "\nCurrently this test fails, only the first FLUSH is processed by the server.\n";
+?>