Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 477 Bytes
package Plack::TempBuffer;
use strict;
use warnings;
use parent 'Stream::Buffered';
sub new {
my $class = shift;
if (defined $Plack::TempBuffer::MaxMemoryBufferSize) {
warn "Setting \$Plack::TempBuffer::MaxMemoryBufferSize is deprecated. "
. "You should set \$Stream::Buffered::MaxMemoryBufferSize instead.";
$Stream::Buffered::MaxMemoryBufferSize = $Plack::TempBuffer::MaxMemoryBufferSize;
}
return $class->SUPER::new(@_);
}
1;
Something went wrong with that request. Please try again.