]> git.ipfire.org Git - thirdparty/squid.git/commit
Preserve caller context across DNS lookups (#496)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 20 Oct 2019 07:35:40 +0000 (07:35 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 20 Oct 2019 16:35:40 +0000 (16:35 +0000)
commitcd2a20f7187c727447c008891c18f9f5f780618d
treec8d7719b50e57684e5d85d677f31138b885ed539
parent4c3f7931643ca4a87d6f2e084604182379449f7b
Preserve caller context across DNS lookups (#496)

For now, the context is restored when communicating with _individual_
callers waiting for their DNS lookup results. Eventually, we might also
support establishing a multi-caller context during DNS answer parsing,
before individual callers are notified. That feature would most likely
require making idns_query refcount-based (a serious change). Or we could
realize that maintaining a very basic query ID-based context is enough.
src/dns_internal.cc