]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Run relevant post-proxy Fail-* section on CoA/PoD timeout
authorNick Porter <nick@portercomputing.co.uk>
Tue, 6 Feb 2024 09:16:29 +0000 (09:16 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 6 Feb 2024 09:16:29 +0000 (09:16 +0000)
src/main/process.c

index 34e9866dd712b3ef02911c7272e29616be3a0b69..64df48cad14076786b4490919f58759ff0f19854 100644 (file)
@@ -5042,7 +5042,11 @@ static bool coa_max_time(REQUEST *request)
                                         buffer, sizeof(buffer)),
                               request->proxy->dst_port,
                               mrd);
-                       request_done(request, FR_ACTION_DONE);
+                       if (setup_post_proxy_fail(request)) {
+                               request_queue_or_run(request, coa_no_reply);
+                       } else {
+                               request_done(request, FR_ACTION_DONE);
+                       }
                        return true;
                }
 
@@ -6170,7 +6174,7 @@ static void check_proxy(rad_listen_t *head)
                        if (sock->my_ipaddr.af == AF_INET) has_v4 = true;
                        if (sock->my_ipaddr.af == AF_INET6) has_v6 = true;
                        break;
-                       
+
                default:
                        break;
                }