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

Reply via email to