Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: 2.0.26?]

From: William A. Rowe, Jr. <wrowe(at)rowe-clan.net>
Date: Thu Aug 30 2001 - 19:34:04 EDT

Crossposted to dev@httpd.apache.org

From: "Ian Holsman" <ianh@cnet.com>
Sent: Thursday, August 30, 2001 5:42 PM

> William A. Rowe, Jr. wrote:

That would be a problem. It doesn't surprize me either. Every month I go back over the discrepancies in the internal_internal_redirect v.s. ap_process_request v.s. all the other ways we set up redirects/subrequests.

These distinctions have to go away. Not that the steps can't be _heavily_ optimized by looking at r->prev or r->main for clues, but we need a single code path through this potentially tricky code.

Notice all the fooness in the subreq mechanisms "Hey, if this, then we don't need to do that!" All well and good until some module gets hurt ;) If the authn/authz module _itself_ peeked at the pool data for r->main->p, "my_own_cache" and sees it's being redundant, it pulls a fast exit (fast OK, fast DECLINED, or fast HTTP_NOT_AUTHORIZED.)

There is probably another weeks worth of work in optimizing these modules (see the ap_location_walk function for such an example.) Then all these code paths can be folded into a single place.

Do you need help?X

First I'm trying to narrow down ap_directory_walk to a single function (the new implementation, I hope it's easier for everyone to follow.) Once that is done, I'll put the same optimization from ap_location_walk onto ap_file_walk and ap_directory_walk. [You might even steal the code I add to ap_directory_walk for proxy_walk :)

Then on through the module hooks. Anyone who wants to join me, speak up and we will divy it up ;) I just have to get the new directory_walk code in so a very thorough review can begin.

Bill Received on Thu Aug 30 23:38:12 2001

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:45 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library