From: Florian Ragwitz Date: Sat, 9 Jan 2010 17:49:17 +0000 (+0000) Subject: Let read_chunk read from psgi.input. X-Git-Tag: 5.89000~72 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=e6b46d803bc83fd66bb3ffdd0c80b052f15c7292 Let read_chunk read from psgi.input. --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index b802f6c..3691e59 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -727,7 +727,10 @@ there is no more data to be read. =cut -sub read_chunk { } +sub read_chunk { + my ($self) = @_; + return $self->env->{'psgi.input'}->read(@_); +} =head2 $self->read_length