Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:

[...]


It depends on many things. For example it's possible to have a simple filter
written in C, which will accept all the data from the response handler
and then spoonfeed the client, just like the proxy does.


Stas, related question: I was looking over the interpreter-pool stuff in modperl_interp.c and modperl_callback.c and it looks to me like each call
to modperl_callback_run_handlers grabs its own interpreter to use. Do
you know if it's possible, within a single http request, for an auth
handler and a response handler to use two different perl interpreters?
It looks to me like it is possible.

Yes. This is controlled by the PerlInterpScope directive:
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlInterpScope_
if you set it to 'handler' than each phase will have a different interpreter selected. The default is 'request' so once an interpreter is selected, it'll be used by all request handlers in the current request.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to