explicit vhosts: only check context for flag
authorAndy Green <andy@warmcat.com>
Tue, 18 Jul 2017 03:15:43 +0000 (11:15 +0800)
committerAndy Green <andy@warmcat.com>
Tue, 18 Jul 2017 20:12:26 +0000 (04:12 +0800)
commit5106e9141ff94b33e23e47fdab834e4cd1606a24
tree590c63d97f43415688f8ff4505205381ea9db15c
parent61cc61817ef8828cb95cebb4adeefbba00ed6f7c
explicit vhosts: only check context for flag

Although the test apps reuse the context info directly and so inherit the
flag state there when creating vhosts, users might generate a fresh info
without the flag for vhost creation.  So just go by what was given at
context creation time.
lib/context.c