Not entirely sure what is causing this, but it appears to
be causing infinite loops when attempting to display certain
blobs.
Fortunately, the fair scheduling of public-inbox-httpd prevented
this from becoming a real problem aside from increasing CPU
usage.
my $ct = 'text/plain; charset=UTF-8';
return [200, ['Content-Type', $ct, @cl] ];
}
my $ct = 'text/plain; charset=UTF-8';
return [200, ['Content-Type', $ct, @cl] ];
}
+ if ($r == 0) {
+ warn "premature EOF on $oid $$logref\n";
+ return html_page($ctx, 500, $logref);
+ }
undef; # bref keeps growing
}
});
undef; # bref keeps growing
}
});