You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jonathan Vanasco <jo...@2xlp.com> on 2006/06/01 00:03:10 UTC

Re: Apache::RequestRec outside of handler?

On May 31, 2006, at 5:59 PM, Perrin Harkins wrote:
> That's essentially what happens if you just set it with
> Apache2::RequestUtil->request($r) at the start of your handler.  Then
> you don't need to the PerlOptions +GlobalRequest setting.

Thats what i thought... but then phil mentioned the threaded COPY  
issue, so i just wanted to avoid that.


| - - - - - - - - - - - - - - - - - - - -
| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - -





Re: Apache::RequestRec outside of handler?

Posted by Perrin Harkins <pe...@elem.com>.
On Wed, 2006-05-31 at 18:03 -0400, Jonathan Vanasco wrote:
> On May 31, 2006, at 5:59 PM, Perrin Harkins wrote:
> > That's essentially what happens if you just set it with
> > Apache2::RequestUtil->request($r) at the start of your handler.  Then
> > you don't need to the PerlOptions +GlobalRequest setting.
> 
> Thats what i thought... but then phil mentioned the threaded COPY  
> issue, so i just wanted to avoid that.

What he described is what happens if you DON'T pass $r in yourself and
rely on GlobalRequest in a threaded environment.

- Perrin