| OLD | NEW |
| (Empty) |
| 1 <?php | |
| 2 header('Content-type: multipart/x-mixed-replace; boundary=boundary'); | |
| 3 header('Connection: keep-alive'); | |
| 4 echo "--boundary\r\n"; | |
| 5 echo "Content-Type: text/html\r\n\r\n"; | |
| 6 echo str_pad('', 5000); | |
| 7 ?> | |
| 8 | |
| 9 <script> | |
| 10 if (window.testRunner) | |
| 11 testRunner.dumpAsText(); | |
| 12 </script> | |
| 13 | |
| 14 <?php | |
| 15 for ($i = 0; $i <= 10; $i++) { | |
| 16 echo "--boundary\r\n"; | |
| 17 echo "Content-Type: text/html\r\n\r\n"; | |
| 18 echo "This text should only appear once "; | |
| 19 echo $i; | |
| 20 echo str_pad('', 5000); | |
| 21 echo "\r\n\r\n"; | |
| 22 flush(); | |
| 23 usleep(100000); | |
| 24 $i++; | |
| 25 } | |
| 26 ?> | |
| OLD | NEW |