httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <Brian.Ak...@turner.com>
Subject Re: [PATCH] add ap_sendfile_enabled
Date Fri, 26 Sep 2008 01:10:11 GMT
On 9/25/08 5:35 PM, "Basant Kumar kukreja" <Basant.Kukreja@Sun.COM> wrote:

> With this common API, we can add more flags in future.

I'm personally -1 on this.

How about something like this:

 int ap_feature_enabled(request_rec *r, server_rec *s, int features)

 if(ap_feature_enabled(r, NULL, SENDFILE)) {
    blah...
 }

Or something so I can just query those things I care about. Like we do with
apr_stat, sorta.
 
-- 
Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies


Mime
View raw message