1diff -rc Catalyst-Engine-HTTP-Prefork-0.50-orig/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm Catalyst-Engine-HTTP-Prefork-0.50/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm
2*** Catalyst-Engine-HTTP-Prefork-0.50-orig/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm 2008-03-14 18:23:47.000000000 +0100
3--- Catalyst-Engine-HTTP-Prefork-0.50/lib/Catalyst/Engine/HTTP/Prefork/Handler.pm 2009-03-11 14:18:40.000000000 +0100
4***************
5*** 199,206 ****
6
7 if ( $self->{_chunked_res} ) {
8 if ( !$self->{_chunked_done} ) {
9! # Write the final '0' chunk
10! syswrite STDOUT, "0$CRLF";
11 }
12
13 delete $self->{_chunked_res};
14--- 199,207 ----
15
16 if ( $self->{_chunked_res} ) {
17 if ( !$self->{_chunked_done} ) {
18! # Write the final '0' chunk and the CRLF that terminates
19! # the chunked body.
20! syswrite STDOUT, "0$CRLF$CRLF";
21 }
22
23 delete $self->{_chunked_res};