line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Plack::TempBuffer; |
2
|
1
|
|
|
1
|
|
57094
|
use strict; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
24
|
|
3
|
1
|
|
|
1
|
|
39
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
32
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
385
|
use parent 'Stream::Buffered'; |
|
1
|
|
|
|
|
245
|
|
|
1
|
|
|
|
|
5
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub new { |
8
|
3
|
|
|
3
|
0
|
4599
|
my $class = shift; |
9
|
|
|
|
|
|
|
|
10
|
3
|
100
|
|
|
|
10
|
if (defined $Plack::TempBuffer::MaxMemoryBufferSize) { |
11
|
2
|
|
|
|
|
24
|
warn "Setting \$Plack::TempBuffer::MaxMemoryBufferSize is deprecated. " |
12
|
|
|
|
|
|
|
. "You should set \$Stream::Buffered::MaxMemoryBufferSize instead."; |
13
|
2
|
|
|
|
|
11
|
$Stream::Buffered::MaxMemoryBufferSize = $Plack::TempBuffer::MaxMemoryBufferSize; |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
3
|
|
|
|
|
15
|
return $class->SUPER::new(@_); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |