From fc9b885ff6c905f0a61e45fb90b4e763577af81d Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 27 Mar 2021 07:46:00 +0100 Subject: [PATCH] chat(): Log the applied actions before deciding how to forward the request --- jcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jcc.c b/jcc.c index 9f379c01..5ddf1842 100644 --- a/jcc.c +++ b/jcc.c @@ -4340,13 +4340,14 @@ static void chat(struct client_state *csp) } #endif + log_applied_actions(csp->action); + /* decide how to route the HTTP request */ fwd = forward_url(csp, http); freez(csp->headers->first->str); build_request_line(csp, fwd, &csp->headers->first->str); - log_applied_actions(csp->action); if (fwd->forward_host) { log_error(LOG_LEVEL_CONNECT, "via [%s]:%d to: %s", -- 2.39.2