From: Fabian Keil Date: Sat, 14 Feb 2009 15:32:04 +0000 (+0000) Subject: Add the request URL to the timeout message in chat(). X-Git-Tag: v_3_0_11~52 X-Git-Url: http://www.privoxy.org/gitweb/%22http:/sourceforge.net/tracker/?a=commitdiff_plain;h=2e92b76d8f022f87691967eca118f917f780c057;p=privoxy.git Add the request URL to the timeout message in chat(). Suggested by Lee. --- diff --git a/jcc.c b/jcc.c index 320d28f1..509be632 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.222 2009/02/08 12:56:51 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.223 2009/02/09 21:21:16 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,11 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.222 2009/02/08 12:56:51 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.223 2009/02/09 21:21:16 fabiankeil + * Now that init_log_module() is called earlier, call show_version() + * later on from main() directly so it doesn't get called for --help + * or --version. + * * Revision 1.222 2009/02/08 12:56:51 fabiankeil * Call initialize_mutexes() before init_log_module() again. * Broken since r220, might be the cause of Lee's #2579448. @@ -2778,7 +2783,8 @@ static void chat(struct client_state *csp) if (n == 0) { - log_error(LOG_LEVEL_ERROR, "Didn't receive data in time."); + log_error(LOG_LEVEL_ERROR, + "Didn't receive data in time: %s", http->url); if ((byte_count == 0) && (http->ssl == 0)) { write_socket(csp->cfd, CONNECTION_TIMEOUT_RESPONSE,