| OLD | NEW |
| (Empty) |
| 1 <?php | |
| 2 header('Content-type: multipart/x-mixed-replace;boundary=asdf'); | |
| 3 ?>--asdf | |
| 4 Content-type: text/html | |
| 5 | |
| 6 <p>This test passes if it does not crash.</p> | |
| 7 <script> | |
| 8 if (window.testRunner) | |
| 9 testRunner.dumpAsText(); | |
| 10 </script> | |
| 11 | |
| 12 <?php | |
| 13 # Add some padding because CFNetwork merges small multipart segments together. | |
| 14 echo str_pad('', 5000); | |
| 15 | |
| 16 ob_flush(); | |
| 17 flush(); | |
| 18 ?> | |
| 19 --asdf | |
| 20 Content-type: text/rtf | |
| 21 | |
| 22 This chunk has an unsupported text mime type, which can cause the policy | |
| 23 for this load to be ignored. This causes the request to be canceled. | |
| 24 | |
| 25 <?php | |
| 26 # Add some padding because CFNetwork merges small multipart segments together. | |
| 27 echo str_pad('', 5000); | |
| 28 ?> | |
| 29 | |
| 30 --asdf-- | |
| OLD | NEW |