Don't pass $ctx down to read().
Florian Ragwitz [Sat, 9 Jan 2010 18:01:25 +0000 (18:01 +0000)]
lib/Catalyst/Engine.pm

index ac7469b..5827780 100644 (file)
@@ -728,7 +728,7 @@ there is no more data to be read.
 =cut
 
 sub read_chunk {
-    my ($self) = @_;
+    my ($self, $ctx) = (shift, shift);
     return $self->env->{'psgi.input'}->read(@_);
 }