From: Fabian Keil Date: Sun, 4 Oct 2009 15:46:25 +0000 (+0000) Subject: Downgrade "request line timeout" message to LOG_LEVEL_CONNECT and let it mention... X-Git-Tag: v_3_0_15~31 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@default-cgi@show-url-info?a=commitdiff_plain;h=1f2fd4c4c2f313f5a0ab1e5391ecb37970b14ad4;p=privoxy.git Downgrade "request line timeout" message to LOG_LEVEL_CONNECT and let it mention the timeout value. --- diff --git a/jcc.c b/jcc.c index c0d3cba7..8116d7a8 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.298 2009/10/04 15:34:17 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.299 2009/10/04 15:45:11 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -1265,8 +1265,9 @@ static char *get_request_line(struct client_state *csp) { if (!data_is_available(csp->cfd, csp->config->socket_timeout)) { - log_error(LOG_LEVEL_ERROR, - "Stopped waiting for the request line."); + log_error(LOG_LEVEL_CONNECT, + "Stopped waiting for the request line. Timeout: %d.", + csp->config->socket_timeout); write_socket(csp->cfd, CLIENT_CONNECTION_TIMEOUT_RESPONSE, strlen(CLIENT_CONNECTION_TIMEOUT_RESPONSE)); return NULL;