peer_select_alg_t type is not really used anywhere. No code sets
clientHttpRequest->HierarchyLogEntry->alg and the switch statement
in clientUpdateCounters() does nothing. This patch removes
peer_select_alg_t and HierarchyLogEntry->alg, and changes the switch
statement to use HierarchyLogEntry->code instead.
/*
- * $Id: structs.h,v 1.442 2003/01/23 00:37:27 robertc Exp $
+ * $Id: structs.h,v 1.443 2003/01/27 08:08:51 hno Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
char host[SQUIDHOSTNAMELEN];
ping_data ping;
char cd_host[SQUIDHOSTNAMELEN]; /* the host of selected by cd peer */
- peer_select_alg_t alg; /* peer selection algorithm */
lookup_t cd_lookup; /* cd prediction: none, miss, hit */
int n_choices; /* #peers we selected from (cd only) */
int n_ichoices; /* #peers with known rtt we selected from (cd only) */