httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <br...@akins.org>
Subject Re: patch for handling headers_in and headers_out as tables in mod_lua
Date Mon, 02 Mar 2009 13:34:05 GMT
On 2/28/09 8:37 PM, "Brian McCallister" <brianm@skife.org> 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



Mime
View raw message