In data 12 dicembre 2009 alle ore 05:38:06, discobeta <discob...@gmail.com> ha scritto:

Dear all,

Recently i've been noticing an error on the apache error log that
states:[error] Software caused connection abort at [script path] line [line
number].

I've seen that happen when I used something like:

sub handler {
    my ($r) = @_;

    # ...
    my $response_body = whatever();

    $r->content_type('text/html');
    $r->print($response_body);

}

*AND*

for some weird reason, `$response_body' happened to be empty.

Can anyone point me in the right direction?

I would start logging whatever you are trying
to $r->print().

--
Cosimo

Reply via email to