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. --Brian
