]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Remove UNLANG_ACTION_STOP_PROCESSING developer/arr2036
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 2 Oct 2025 23:37:36 +0000 (17:37 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 2 Oct 2025 23:50:41 +0000 (17:50 -0600)
commitfe1f029be72404a07a64bc8e30393634de3fa466
treed8f7cc03bf726ed1a4bb429c9e24b6cb4ad53cdf
parent68f981213ecf6ecf4df939b3eb03da919c0a5c24
Remove UNLANG_ACTION_STOP_PROCESSING

It's not needed anymore.  Fatal errors should use `RETURN_UNLANG_ACTION_FATAL` to signal the request to stop.

Fix issue where finally-timeout test wasn't actually running because the dummy request got cancalled during the virtual server call (oops).

Add regression tests for module calls being immediately cancelled in finally sections.
20 files changed:
src/lib/io/control.h
src/lib/unlang/action.h
src/lib/unlang/function.c
src/lib/unlang/interpret.c
src/lib/unlang/load_balance.c
src/lib/unlang/map.c
src/lib/unlang/module.c
src/lib/unlang/switch.c
src/lib/unlang/timeout.c
src/lib/unlang/tmpl.c
src/lib/unlang/try.c
src/lib/unlang/xlat.c
src/tests/keywords/finally
src/tests/keywords/finally-timeout [new file with mode: 0644]
src/tests/keywords/finally-timeout-module [new file with mode: 0644]
src/tests/keywords/finally-timeout-module.attrs [new file with mode: 0644]
src/tests/keywords/finally-timeout-module.servers [new file with mode: 0644]
src/tests/keywords/finally-timeout.attrs [new file with mode: 0644]
src/tests/keywords/finally-timeout.servers [new file with mode: 0644]
src/tests/keywords/finally.servers