Re: [RFC] accel mode config changes

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 27 Jul 2011 01:32:37 +0200

ons 2011-07-27 klockan 11:09 +1200 skrev Amos Jeffries:

> I mean making the "mode" flag 'vhost' instead of 'accel'. Which means
> we can drop accel and defaultsite= in one change to a parameterized
> vhost.

accel was originally optional and implicit if vhost or any other
accelerator mode directive is specified. Actually the accel directive
didn't even exist in the config syntax for a long time. This was added
rather late in the reverse proxy merging (or after, don't remember).

not sure when accel became a required directive for accelerator mode, or
if that's a good thing.

The 2.7 parser for "vhost" looks like (and similarly for the other accel
specific options):

    } else if (strcmp(token, "vhost") == 0) {
        s->vhost = 1;
        s->accel = 1;

Regards
Henrik
Received on Tue Jul 26 2011 - 23:32:41 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 27 2011 - 12:00:09 MDT