root/trunk/t/htdocs/17-buffer/unbuffer-override-conf.asp

Revision 83, 227 bytes (checked in by clinton, 4 years ago)

Add tests for Buffer feature, tid10737 tid10892, resolves trac24

Line 
1 <% #> -*-cperl-*-
2    use Time::HiRes qw(usleep);
3    my $naptime = 500_000; # in microsec
4
5    $Response->{Buffer} = 0;
6    my $wad = 'deadbeef' x 1024;
7
8    for (1..3) {
9        print "$wad$_\n";
10        usleep($naptime);
11    }
12
13 %>
14
Note: See TracBrowser for help on using the browser.