projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Look! I'm famous! (See Catalyst-Devel)
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine.pm
diff --git
a/lib/Catalyst/Engine.pm
b/lib/Catalyst/Engine.pm
index
9190d9a
..
32cac01
100644
(file)
--- a/
lib/Catalyst/Engine.pm
+++ b/
lib/Catalyst/Engine.pm
@@
-51,7
+51,7
@@
sub finalize_body {
my $got;
do {
$got = read $body, my ($buffer), $CHUNKSIZE;
- last unless $self->write( $c, $buffer );
+ $got = 0 unless $self->write( $c, $buffer );
} while $got > 0;
close $body;