Subject: CVS commit: pkgsrc/www/squid6
From: Stephen Borrill
Date: 2024-02-21 13:58:50
Message id: 20240221125850.B2373F9F4@cvs.NetBSD.org

Log Message:
squid6: patch bug 1691

https://github.com/squid-cache/squid/pull/1691

Since inception in 2017 commit fd9c47d, Dns::CachedIps::have() always
returned position zero after finding a matching IP address (at zero or
positive position). The bug affected two callers:

* markAsBad() always marked the first stored address (as bad);
* forgetMarking() always cleared the first stored address marking.

Buggy markings led to Squid sometimes not attempting to use a working
address (e.g., IPv4) while using a known problematic one (e.g., IPv6).

Files:
RevisionActionfile
1.8modifypkgsrc/www/squid6/Makefile
1.6modifypkgsrc/www/squid6/distinfo
1.1addpkgsrc/www/squid6/patches/patch-src_ipcache.cc