From: hno <> Date: Thu, 13 Mar 2003 14:51:38 +0000 (+0000) Subject: by Ruben Farrelly: X-Git-Tag: SQUID_3_0_PRE1~262 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24450a8ff6cc8d9effde679c2ec28a486cdf6cde;p=thirdparty%2Fsquid.git by Ruben Farrelly: Add a extra statement to the port binding statements to indicate what the port is specified to do if any [option] is set for the port In other words instead of just this in the startup log for squid: 2003/03/01 22:31:34| Accepting HTTP connections at 203.29.67.130, port 3128, FD 13. Print this instead: 2003/03/01 22:31:34| Accepting accelerated HTTP connections at 203.29.67.130, port 3128, FD 13. --- diff --git a/src/client_side.cc b/src/client_side.cc index 179a2eefee..bb9a58d582 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.632 2003/03/11 23:27:37 hno Exp $ + * $Id: client_side.cc,v 1.633 2003/03/13 07:51:38 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -2793,7 +2793,10 @@ clientHttpConnectionsOpen(void) comm_accept(fd, httpAccept, s); - debug(1, 1) ("Accepting HTTP connections at %s, port %d, FD %d.\n", + debug(1, 1) ("Accepting %sHTTP connections at %s, port %d, FD %d.\n", + s->transparent ? " transparently proxied" : + s->accel ? " accelerated" : + "", inet_ntoa(s->s.sin_addr), (int) ntohs(s->s.sin_port), fd); HttpSockets[NHttpSockets++] = fd;