Attempt to keep responses within 2 seconds on my slow server; large files
are mostly data includes which do not benefit much from markup anyway.
}
}
-r $source or die "Requested file not found\n";
}
}
-r $source or die "Requested file not found\n";
+ my $size = (stat $source)->[7];
+ $size < 32_768 or die 'large files take too long to parse';
require Text::VimColor;
Text::VimColor->VERSION(0.12)
or die 'early versions are buggy under FastCGI';
require Text::VimColor;
Text::VimColor->VERSION(0.12)
or die 'early versions are buggy under FastCGI';