[Privoxy-commits] [privoxy] 10/19: parse_client_request(): Fix status code in a LOG_LEVEL_CLF message
User Git
git at git.privoxy.org
Sun Jan 10 15:50:49 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 cd0f01742b2822c9e154e3a6394d6c0f3f53e793
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Jan 10 08:46:35 2021 +0100
parse_client_request(): Fix status code in a LOG_LEVEL_CLF message
---
jcc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jcc.c b/jcc.c
index 930c2991..ff390f1a 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1981,7 +1981,7 @@ static jb_err parse_client_request(struct client_state *csp)
strlen(MESSED_UP_REQUEST_RESPONSE), get_write_delay(csp));
/* XXX: Use correct size */
log_error(LOG_LEVEL_CLF,
- "%s - - [%T] \"Invalid request generated\" 500 0", csp->ip_addr_str);
+ "%s - - [%T] \"Invalid request generated\" 400 0", csp->ip_addr_str);
log_error(LOG_LEVEL_ERROR,
"Invalid request line after applying header filters.");
free_http_request(http);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list