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

Side by Side Diff: LayoutTests/http/tests/misc/resources/slow-png-load.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 use strict; 3 use strict;
4 4
5 use CGI; 5 use CGI;
6 use File::stat; 6 use File::stat;
7 7
8 use constant CHUNK_SIZE_BYTES => 256; 8 use constant CHUNK_SIZE_BYTES => 256;
9 9
10 my $query = new CGI; 10 my $query = new CGI;
11 my $filename = $query->param('name'); 11 my $filename = $query->param('name');
(...skipping 24 matching lines...) Expand all
36 if ($total >= $filesize) { 36 if ($total >= $filesize) {
37 last; 37 last;
38 } 38 }
39 39
40 # Throttle if there is some. 40 # Throttle if there is some.
41 if ($chunkdelay > 0) { 41 if ($chunkdelay > 0) {
42 select(undef, undef, undef, $chunkdelay); 42 select(undef, undef, undef, $chunkdelay);
43 } 43 }
44 } 44 }
45 close(FILE); 45 close(FILE);
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/misc/resources/slow-defer-script.cgi ('k') | LayoutTests/http/tests/misc/resources/slow-stylesheet.cgi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698