4 Nov
2016
4 Nov
'16
11:40 a.m.
On Nov 4, 2016, at 11:34 AM, Brian Candler <b.candler@pobox.com> wrote:
Is it possible to jump out of a policy.d function, without exiting the whole request?
Unfortunately, no. For various reasons, policies aren't really functions. They're pretty much included in-line in the configuration section which uses them. It would be possible to change the "return" statement so that it's scoped. i.e. it returns out of whatever logical block it's in. But that can't be done for v3. Perhaps in v4 it's easier. Alan DeKok.