--
Please forgive typos, sent from phone.

On Mar 2, 2009, at 5:34 AM, Brian Akins <[email protected]> wrote:

On 2/28/09 8:37 PM, "Brian McCallister" <[email protected]> wrote:

It could be just:
   apr_hash_set(dispatch, "document_root", APR_HASH_KEY_STRING,
makefun(&req_content_encoding_field, APL_REQ_FUNTYPE_STRING,
                        p));



Also, couldn't we build the dispatch has once, and only once, and then just associated it with each apache2.request? This seems more efficient than building this array every time. It would also be nice to use a dispatch
hash for "setters" as well.

Agreed. I'm thinking we can store the dispatch tables on the server conf, that way we can allow them to be modified.

--Brian


Reply via email to