Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: LayoutTests/http/tests/plugins/resources/slow-resource.pl

Issue 155173003: checkpoint unix version of apache win32 patch. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: re-daemonize apache on unix Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -wT
2 2
3 # flush the buffers after each print 3 # flush the buffers after each print
4 select (STDOUT); 4 select (STDOUT);
5 $| = 1; 5 $| = 1;
6 6
7 print "Content-Type: text/plain\n"; 7 print "Content-Type: text/plain\n";
8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n"; 8 print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\n";
9 print "Cache-Control: no-store, no-cache, must-revalidate\n"; 9 print "Cache-Control: no-store, no-cache, must-revalidate\n";
10 print "Pragma: no-cache\n"; 10 print "Pragma: no-cache\n";
11 print "\n"; 11 print "\n";
12 12
13 print "\xef\xbb\xbfTest for bug 5187: UTF-8 in long text files breaks at some po int.\n\n"; 13 print "\xef\xbb\xbfTest for bug 5187: UTF-8 in long text files breaks at some po int.\n\n";
14 for ($count=1; $count<2000; $count++) { 14 for ($count=1; $count<2000; $count++) {
15 print "\x65\xcc\x81"; 15 print "\x65\xcc\x81";
16 } 16 }
17 sleep 10; 17 sleep 10;
18 for ($count=1; $count<2000; $count++) { 18 for ($count=1; $count<2000; $count++) {
19 print "\x65\xcc\x81"; 19 print "\x65\xcc\x81";
20 } 20 }
21 sleep 10; 21 sleep 10;
22 for ($count=1; $count<2000; $count++) { 22 for ($count=1; $count<2000; $count++) {
23 print "\x65\xcc\x81"; 23 print "\x65\xcc\x81";
24 } 24 }
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/plugins/resources/dump-post.pl ('k') | LayoutTests/http/tests/resources/load-and-stall.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698