]> git.ipfire.org Git - thirdparty/squid.git/commit
Send DNS A and AAAA queries in parallel
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 6 Jan 2012 20:30:35 +0000 (21:30 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Fri, 6 Jan 2012 20:30:35 +0000 (21:30 +0100)
commit049441d9e5bc208bf2b6f16abc1d5b203110da07
tree166482d29ade0f8603ec295524225eb837ea78a4
parent42b93184c8c5ea607008970ab094f193d46591ad
Send DNS A and AAAA queries in parallel

This implements sending DNS A & AAAA queries in parallel by
creating "slave" idns_query requests. Current implementation
uses the A lookup as "master" and AAAA as "slave" query.

Long term this should probably be restructured to separate "lookup
state" and "query", or even better yet to defer the DNS lookups
until connect time and perform A respective AAAA as needed only and
not look up both before attemting to connect.
src/dns_internal.cc