httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache-1.3/src/support httpd.exp
Date Tue, 29 Dec 1998 18:25:53 GMT


On 29 Dec 1998 fielding@hyperreal.org wrote:

>   +/* Create a variant list validator in r using info from vlistr. */
>   +
>   +static void set_vlist_validator(request_rec *r, request_rec *vlistr)
>   +{
>   +    /* Calculating the variant list validator is similar to
>   +     * calculating an etag for the source of the variant list
>   +     * information, so we use ap_make_etag().  Note that this
>   +     * validator can be 'weak' in extreme case.
>   +     */
>   +
>   +    ap_update_mtime (vlistr, vlistr->finfo.st_mtime);
>   +    r->vlist_validator = ap_make_etag(vlistr, 0);
>   +
>   +    /* ap_set_etag will later take r->vlist_validator into account
>   +     * when creating the etag header
>   +     */
>   +}

mod_negotiation isn't the only module that can do negotiations... what
happens if a sub request also has a vlist_validator because it was
negotiated?  (Maybe I don't understand vlist_validator... maybe
you could put a couple more notes into httpd.h ;)

Dean


Mime
View raw message