Re: mod_perl 1.99: sendfile returns empty document

2004-12-30 Thread Stas Bekman
Michael Heidel wrote: Hi List, we got a strange problem on Apache/2.0.52 (Unix) mod_perl/1.99_18 Perl/v5.8.5. $r->content_type('image/jpeg'); $r->sendfile($docname); returns an empty image (length: 0). it doesn't return anyhing but success code The jpg image $docname exists and is readable for ap

mod_perl 1.99: sendfile returns empty document

2004-12-30 Thread Michael Heidel
Hi List, we got a strange problem on Apache/2.0.52 (Unix) mod_perl/1.99_18 Perl/v5.8.5. $r->content_type('image/jpeg'); $r->sendfile($docname); returns an empty image (length: 0). The jpg image $docname exists and is readable for apache. Also error handling does not work: If we change $document t