This is great data, Ben & Eric.

I'm a little worried about the "follow until" in terms of performance
(probably not really an issue most of the time) and vulnerability to other
modules corrupting state (for which mod_pagespeed would be blamed loudly on
twitter :)

So I'm still thinking of the using an early 'create_request' hook so that we
can propagate our 'notes' incrementally, but we should certainly be using
request->main in combination with request->prev to do the propagation if
that's the right thing to do.

On Sun, Mar 13, 2011 at 9:35 AM, Ben Noordhuis <i...@bnoordhuis.nl> wrote:

> On Sun, Mar 13, 2011 at 13:15, Eric Covener <cove...@gmail.com> wrote:
> > r->main doesn't change on an internal redirect AFAICT.
>
> You're right. And there is ap_internal_fast_redirect() that works
> different still. The only thing I can think of that should work for
> all three is to follow r->main until it's NULL, then follow r->prev
> until you're at the root request.
>

Reply via email to