]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
by Ruben Farrelly:
authorhno <>
Thu, 13 Mar 2003 14:51:38 +0000 (14:51 +0000)
committerhno <>
Thu, 13 Mar 2003 14:51:38 +0000 (14:51 +0000)
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.

src/client_side.cc

index 179a2eefee44a30d4b0d13fe6b061d2ad6d609ba..bb9a58d582288d0107aaadf9e76250ee18a70973 100644 (file)
@@ -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;