]> git.ipfire.org Git - thirdparty/squid.git/commit
Recognize internal requests created by adaptation/redirection (#1504)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Tue, 10 Oct 2023 22:42:06 +0000 (22:42 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 11 Oct 2023 14:48:22 +0000 (14:48 +0000)
commit333c433b3636bdc5b9effeaf444b790f8ecb1282
treec8252bf78bcabbe7737a80a0e4c1ede3325cc0ec
parent70eaaee31cd5b3be08c94389df9f2ec2839cd06f
Recognize internal requests created by adaptation/redirection (#1504)

Before this fix, Squid set flags.internal for virgin requests but not
for adapted/redirected requests, leaving post-adaptation request
processing code in an inconsistent state, forwarding the
internalCheck()-compliant adapted/redirected requests as regular
requests, triggering forwarding loops and complicating code refactoring.
src/client_side.cc
src/client_side_request.cc
src/client_side_request.h