Hello, 

I have a perl output filter handler that processes the <title> element of html 
documents, after I am done with processing <title> element, I want to remove 
the output filter handler from the output filters chain so that we do not 
process the remaining bucket brigades to improve performance. Here is the 
fragment of the script

...
if ($ctx->{done})
{ #ctx->{done} is true - we are done parsing the title, remove the handler from 
the filter chain
$f->remove;
return Apache::Const::DECLINED;
}
…
It appears that the handler is not removed from the filter chain, the incoming 
bucket brigades are still being processed by the filter.

Here is my environment 
Red Hat Enterprise Linux
Apache/2.0.46
perl, v5.8.0 
 
I would appreciate your help.

Thanks a lot.
Woinshet


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Reply via email to