--------------------- PatchSet 11327 Date: 2007/03/12 22:27:09 Author: hno Branch: SQUID_2_6 Tag: (none) Log: MFC: Don't log short responses at debug level 1 Servers are expected to abort requests every now and then... also include the URL in the log message to make it easier to follow. Merged changes: 2007/03/08 23:24:51 hno +2 -2 Don't log short chunked responses at debug level 1 Members: src/http.c:1.419.2.5->1.419.2.6 Index: squid/src/http.c =================================================================== RCS file: /cvsroot/squid/squid/src/http.c,v retrieving revision 1.419.2.5 retrieving revision 1.419.2.6 diff -u -r1.419.2.5 -r1.419.2.6 --- squid/src/http.c 26 Feb 2007 22:41:46 -0000 1.419.2.5 +++ squid/src/http.c 12 Mar 2007 22:27:09 -0000 1.419.2.6 @@ -1,6 +1,6 @@ /* - * $Id: http.c,v 1.419.2.5 2007/02/26 22:41:46 hno Exp $ + * $Id: http.c,v 1.419.2.6 2007/03/12 22:27:09 hno Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -721,7 +721,7 @@ } /* Is it a incomplete reply? */ if (httpState->chunk_size > 0) { - debug(11, 1) ("Short response on port %d. Expecting %" PRINTF_OFF_T " octets more\n", comm_local_port(fd), httpState->chunk_size); + debug(11, 2) ("Short response from '%s' on port %d. Expecting %" PRINTF_OFF_T " octets more\n", storeUrl(entry), comm_local_port(fd), httpState->chunk_size); comm_close(fd); return; }