From: wessels <> Date: Fri, 13 Mar 1998 04:19:46 +0000 (+0000) Subject: adding HTCP code X-Git-Tag: SQUID_3_0_PRE1~3857 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ace287eecf33650190df6233e11f13c5ab36a533;p=thirdparty%2Fsquid.git adding HTCP code --- diff --git a/src/main.cc b/src/main.cc index ca55116c58..90c4f3f1a3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -1,6 +1,6 @@ /* - * $Id: main.cc,v 1.234 1998/03/06 23:22:29 wessels Exp $ + * $Id: main.cc,v 1.235 1998/03/12 21:19:46 wessels Exp $ * * DEBUG: section 1 Startup and Main Loop * AUTHOR: Harvest Derived @@ -336,6 +336,9 @@ serverConnectionsOpen(void) { clientHttpConnectionsOpen(); icpConnectionsOpen(); +#if USE_HTCP + htcpInit(); +#endif #ifdef SQUID_SNMP snmpConnectionOpen(); #endif diff --git a/src/structs.h b/src/structs.h index 04e9cd8011..894ea9fa19 100644 --- a/src/structs.h +++ b/src/structs.h @@ -199,6 +199,9 @@ struct _SquidConfig { struct { ushortlist *http; u_short icp; +#if USE_HTCP + u_short htcp; +#endif #if SQUID_SNMP u_short snmp; #endif @@ -775,6 +778,9 @@ struct _peer { int logged_state; /* so we can print dead/revived msgs */ } stats; u_short icp_port; +#if USE_HTCP + u_short htcp_port; +#endif u_short http_port; int icp_version; struct _domain_ping *pinglist;