From c232134d35de4cb1f62b895961838db6b7c37774 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 26 Mar 2021 15:34:40 +0100 Subject: [PATCH 1/1] receive_client_request(): Improve error message --- jcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jcc.c b/jcc.c index 5ed93b35..780969c2 100644 --- a/jcc.c +++ b/jcc.c @@ -1835,7 +1835,8 @@ static jb_err receive_client_request(struct client_state *csp) if (!data_is_available(csp->cfd, csp->config->socket_timeout)) { log_error(LOG_LEVEL_ERROR, - "Stopped grabbing the client headers."); + "Client headers did not arrive in time. Timeout: %d", + csp->config->socket_timeout); destroy_list(headers); return JB_ERR_PARSE; } -- 2.39.2