[prev in list] [next in list] [prev in thread] [next in thread] 

List:       privoxy-commits
Subject:    [privoxy-commits] current jcc.c,1.464,1.465
From:       Fabian Keil via ijbswa-commits <ijbswa-commits () lists ! sourceforge ! net>
Date:       2017-06-26 12:14:27
Message-ID: E1dPSuT-0003oR-F5 () sfs-ml-2 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv21854

Modified Files:
	jcc.c 
Log Message:
Improve 'socket timeout reached' message

Log the timeout that was triggered and downgrade the
log level to LOG_LEVEL_CONNECT to reduce the log noise
with common debug settings.

The timeout isn't necessary the result of an error and
usually merely indicates that Privoxy's socket timeout
is lower than the relevant timeouts used by client and
server.

Sponsored by: Robert Klemme


Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.464
retrieving revision 1.465
diff -C2 -d -r1.464 -r1.465
*** jcc.c	26 Jun 2017 12:13:52 -0000	1.464
--- jcc.c	26 Jun 2017 12:14:25 -0000	1.465
***************
*** 2117,2122 ****
        if (n == 0)
        {
!          log_error(LOG_LEVEL_ERROR,
!             "Didn't receive data in time: %s", http->url);
           if ((byte_count == 0) && (http->ssl == 0))
           {
--- 2117,2122 ----
        if (n == 0)
        {
!          log_error(LOG_LEVEL_CONNECT, "Socket timeout %d reached: %s",
!             csp->config->socket_timeout, http->url);
           if ((byte_count == 0) && (http->ssl == 0))
           {


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ijbswa-commits mailing list
ijbswa-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ijbswa-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic