[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Forcing order of perl output filters


I have the following configuration in a PerlFixupHandler,

 

$r->add_config([

'PerlOutputFilterHandler BI::Apache::FilterBeforeIncludes',

'PerlSetOutputFilter INCLUDES',

'PerlOutputFilterHandler BI::Apache::FilterAfterIncludes']);

 

I want the response to be processed by the filters in the order specified in the configruation as shown above. However for SOME reqeusts, the second handler, FilterAfterIncludes, is initiated before the first one finishes. The second handler to work properly it should start just after the first one because it expects some shared variable that is set by the first handler. It appears that this happens when the size of the response is big, is there any other way of forcing the order?

 

Thanks

Woinshet

 
 
Environment:

 Red Hat Enterprise Linux
 Apache/2.0.46
 perl, v5.8.0


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.