Apache2-SSI
view release on metacpan or search on metacpan
lib/Apache2/SSI.pm view on Meta::CPAN
if( !$seen_eos )
{
# store context for all but the last invocation
$r->log->debug( "${class} [PerlOutputFilterHandler]: Not reached the EOS bucket. Storing html to data buffer." ) if( $debug > 0 );
$ctx->{data} = $html;
$f->ctx( $ctx );
return( &Apache2::Const::OK );
}
# Let's behave well as per the doc
if( $f->c->keepalive == &Apache2::Const::CONN_KEEPALIVE )
{
$r->log->debug( "${class} [PerlOutputFilterHandler]: KeepAlive count (", $f->c->keepalive, ") reached the threshold of '", &Apache2::Const::CONN_KEEPALIVE, "'." ) if( $debug > 0 );
$ctx->{data} = '';
$f->ctx( $ctx );
}
my $size = length( $html );
$ctx->{data} = '';
$ctx->{invoked} = 0;
$f->ctx( $ctx );
if( $size == 0 )
{
( run in 0.522 second using v1.01-cache-2.11-cpan-df04353d9ac )