squid
squid copied to clipboard
Move generatingConnect flag to HttpRequest
It is a flag to control ACL matching against the HttpRequest data and should not have been directly part of MasterXaction at all.
It is a flag to control ACL matching against the HttpRequest data
What makes you think that? AFACIT, commit 090f1d3 reached (and painstakingly documented) essentially the opposite conclusion.
The actual current code usage of this flag. It is set to true prior to HttpStateData::httpBuildRequestHeader() and set back to false immediately after. It should really be a flag of HttpStateData object, but that object is not passed to the access control code. The HttpRequest object used by HttpStateData::httpBuildRequestHeader() is where those access controls get details from HttpStateData.
How were this PR changes tested?
- ./test-builds.sh
- running real-world traffic through Squid
- Semaphoreci tests
still awaiting Jenkins results.