]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
catch many many more corner cases with 'try'
authorAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 00:27:42 +0000 (20:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 28 Jul 2025 00:37:28 +0000 (20:37 -0400)
commit6a125b84b6f8ea1484b78abe538c65baa8ea9e9a
treeafbc74c877e8a328846705a00ba96d3abf9c103d
parentd3ad924a4c82f84b2273b0433b0cde6d249ff75e
catch many many more corner cases with 'try'

if the input compile_ctx has REJECT or RETURN for an action, AND
there's a "try / catch" for it, we do NOT have the try actions
stay "REJECT" or "RETURN"

also change the behavior so catch { ... } means "catch ALL" of the
rcodes.

the error rcodes are special, too :(
doc/antora/modules/reference/pages/unlang/catch.adoc
doc/antora/modules/reference/pages/unlang/try.adoc
src/lib/unlang/catch.c
src/lib/unlang/try.c