From 1f2fd4c4c2f313f5a0ab1e5391ecb37970b14ad4 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 4 Oct 2009 15:46:25 +0000 Subject: [PATCH] Downgrade "request line timeout" message to LOG_LEVEL_CONNECT and let it mention the timeout value. --- jcc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.49.0