httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Murcko <ch...@topsail.org>
Subject Re: cvs commit: apache-apr/apr/lib apr_tables.c
Date Wed, 07 Jun 2000 03:11:12 GMT
Greg Stein wrote:
> 
> On Tue, Jun 06, 2000 at 07:00:49PM +0200, Graham Leggett wrote:
> > Greg Stein wrote:
> >
> > > Euh... how is this different from ap_overlap_tables() ??
> >
> > Overlap tables combines the values of common headers, no information is
> > lost, two headers become one with comma separated data. Replace tables
> > does exactly that - old header values are lost and are replaced with new
> > header values.
> 
> ap_overlap_tables(base, overrides, AP_OVERLAP_TABLES_SET) does what you are
> looking for.
> 
The real difference is that ap_replace_tables() returns an int used to
signify the status of comparing the values in the two headers, to
determine whether the request gets fulfilled immediately or not. The
replace gets done in either case.
-- 
Chuck
Chuck Murcko
Topsail Group
chuck@topsail.org

Mime
View raw message