]> git.ipfire.org Git - thirdparty/squid.git/commit
Improve error message storage in Dns::LookupDetails (#1241)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sun, 29 Jan 2023 21:59:41 +0000 (21:59 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 1 Feb 2023 13:42:47 +0000 (13:42 +0000)
commit8651e12628dfec0639a624b676f4f75211e7b9a8
tree9da4ff52e695bdc02868198cd1e173676d2eeb9a
parent21f90159029aeb05fca55a6f48f120afb5f2b705
Improve error message storage in Dns::LookupDetails (#1241)

Removed one more deprecated String usage and optimized handling of a
common "no error, no lookup" case as well as portions of the "no-error
lookup" code paths. Further optimizations need similar ipcache_entry and
fqdncache_entry error storage changes (at least).

Co-authored-by: Alex Rousskov <rousskov@measurement-factory.com>
src/dns/LookupDetails.cc
src/dns/LookupDetails.h
src/errorpage.cc
src/errorpage.h
src/fqdncache.cc
src/ipcache.cc