]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't call process_proxy_reply twice when proxying to a virtual server 2161/head
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 18 Jan 2018 23:42:19 +0000 (23:42 +0000)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 18 Jan 2018 23:42:19 +0000 (23:42 +0000)
src/main/process.c

index d405f8b34ddaa34d3c3f3e4d9f24d329e75462a8..17de84a7c0590c25398969e08576b57e46ac677d 100644 (file)
@@ -1551,6 +1551,8 @@ static void request_running(REQUEST *request, int action)
                         *      handler.
                         */
                        if (request_proxy(request) < 0) {
+                               if (request->home_server->server) goto req_finished;
+
                                (void) setup_post_proxy_fail(request);
                                process_proxy_reply(request, NULL);
                                goto req_finished;