--------------------- PatchSet 11360 Date: 2007/04/02 14:06:08 Author: hno Branch: HEAD Tag: (none) Log: Don't log ECONNREFUSED accept errors in cache.log. Not very interesting. Members: src/comm.c:1.360->1.361 Index: squid/src/comm.c =================================================================== RCS file: /cvsroot/squid/squid/src/comm.c,v retrieving revision 1.360 retrieving revision 1.361 diff -u -r1.360 -r1.361 --- squid/src/comm.c 19 Mar 2007 01:21:17 -0000 1.360 +++ squid/src/comm.c 2 Apr 2007 14:06:08 -0000 1.361 @@ -1,6 +1,6 @@ /* - * $Id: comm.c,v 1.360 2007/03/19 01:21:17 swilton Exp $ + * $Id: comm.c,v 1.361 2007/04/02 14:06:08 hno Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -563,7 +563,7 @@ Slen = sizeof(P); statCounter.syscalls.sock.accepts++; if ((sock = accept(fd, (struct sockaddr *) &P, &Slen)) < 0) { - if (ignoreErrno(errno)) { + if (ignoreErrno(errno) || errno == ECONNREFUSED) { debug(5, 5) ("comm_accept: FD %d: %s\n", fd, xstrerror()); return COMM_NOMESSAGE; } else if (ENFILE == errno || EMFILE == errno) {