Callbacks help please

2007-06-22 Thread Amos Jeffries

I need some help getting my head around the callback system peoples.

The situation:
 with IPv6 I have it looking up  records and failover to lookup the 
A records at the DNS level.
However IFF the DNS server responds to the  indicating a CNAME. THe 
case is quite common that the CNAME points to an A not an . Thus the 
remote server does not add anything in the additional section. These 
additional records are what squid used to depend on for use when a CNAME 
arrived.


I'm trying to add CNAME capability so the absence of additional A or 
 will failover to looking them up.
(This is presently showing me the same 'can't connect to X website' we 
get so many complaints about, maybe the same problem.)


There the problem occurs:
  When ipcacheParse locates a CNAME, I tried calling 
ipcache_gethostbyname(...) to generate a loopback for the lookup. How do 
I suspend the current callback *leaving it as if never processed* for 
future re-handling?


I have everything else going fine. It works after the initial page load 
once the 'bad IP' has expired from cache. Its just getting this to work 
on first load that the hiccup.


Amos


/dev/poll support is in squid-2.6

2007-06-22 Thread Adrian Chadd

I've just merged in the Solaris/irix support into squid-2.6.
I'm running a quick polygraph test on an old sun (E250) running
Solaris 10 to see if there are any issues.




Adrian