From: Matthew Newton Date: Thu, 18 Jan 2018 23:42:19 +0000 (+0000) Subject: don't call process_proxy_reply twice when proxying to a virtual server X-Git-Tag: release_3_0_17~97^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0cf926436c59f254d271fcc7ace1c5824fac66a;p=thirdparty%2Ffreeradius-server.git don't call process_proxy_reply twice when proxying to a virtual server --- diff --git a/src/main/process.c b/src/main/process.c index d405f8b34dd..17de84a7c05 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -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;