On Thu, 15 Mar 2001, Pierre Phaneuf wrote:
I have a PerlTransHandler that is very simple:
the problem is likely that your trans handler is recursing. try adding
this to prevent recursion:
sub handler {
my($r) = @_;
return unless $r-is_main;
my($info);
$info =
I have a PerlTransHandler that is very simple:
sub handler {
my($r) = @_;
my($info);
$info = $r-lookup_file('/home/pp/pierre.jpg')-content_type();
warn("content type is $info\n");
return DECLINED;
}
But it causes a segfault when invoked... I removed the
"-content_type()", so that