ICP - neighborsUdpACK

From: <srnoam@dont-contact.us>
Date: Thu, 16 Mar 2006 13:18:25 +0200

Hello,
I have rudimentary implemented a choice algorithm in "neighborsUdpACK" function
in neighbors.c, where it waits to all icp responses per object (untill all icp
peers responded or untill timeout) & then chooses the lowest cost peer (it's
for dynamic objects only in my network).
However, the choice is made of only from ICP peers & I want to compare the cost
to the local proxy cost, so I have tried to find which function squid goes back
to after "neighborsUdpACK", & implement another choice algorithm between local
cache & the chosen ICP reponse.
I guess it's in ICPVersion2, if I am right could any one tell me how I fetch the
object from local cache from there?
thanks,
Noam
Received on Thu Mar 16 2006 - 04:18:32 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:06 MST