[Privoxy-commits] [privoxy] 02/14: Don't log the applied actions in process_encrypted_request()
User Git
git at git.privoxy.org
Sun Mar 21 07:34:54 UTC 2021
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit b2ddd8d128c7b9f4ff15e3809329cd82b87cab2e
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Mar 14 17:17:26 2021 +0100
Don't log the applied actions in process_encrypted_request()
Log them in continue_https_chat() instead to mirror chat().
Prevents the applied actions from getting logged twice
for the first request on an https-inspected connection.
---
jcc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/jcc.c b/jcc.c
index aec8e2a7..20df6df5 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2871,7 +2871,6 @@ static jb_err process_encrypted_request(struct client_state *csp)
}
log_error(LOG_LEVEL_HEADER, "Encrypted request processed");
- log_applied_actions(csp->action);
log_error(LOG_LEVEL_REQUEST, "https://%s%s", csp->http->hostport,
csp->http->path);
@@ -2977,6 +2976,8 @@ static void continue_https_chat(struct client_state *csp)
return;
}
+ log_applied_actions(csp->action);
+
log_error(LOG_LEVEL_CONNECT,
"Reusing server socket %d connected to %s. Requests already sent: %u.",
csp->server_connection.sfd, csp->server_connection.host,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list