Hi,I'm using perl v5.8.8 and the patched squid-prefetch does not work at all! That's why: the declaration
my ( $code,$mesg,%hdrs) makes the variables $code,$mesg and %hdrs local, and the subsequent if ($code != 200) {is always satisfied since $code is undefined at this point and no url is ever prefetched...
I attach my simple patch, intended to be applied to version 1.1-2 in order to get 1.1-2 YOSS Happy to be useful, Lorenzo Clemente, Rome
squid-prefetch-1.1-2-yoss.diff
Description: Binary data