Bug #36102
closeduse-http-proxy switch does not work properly
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2162458
Description of problem:
We have an ACS with assigned capsules which are set with HTTP Proxy, so the traffic is proxied through it on ACS refresh. The thing is it is proxied even when we set 'Use HTTP Proxies' on that ACS to 'false'.
Version-Release number of selected component (if applicable):
6.13.0 snap 5
How reproducible:
always
Steps to Reproduce:
1. Have an HTTP proxy assigned to a Capsule.
2. Have an ACS with the Capsule assigned and 'Use HTTP Proxies' set to 'true'.
3. Trigger ACS refresh and check /var/log/squid/access.log on the HTTP Proxy - you should see the traffic from the Capsule.
4. Set 'Use HTTP Proxies' on the ACS to 'false', trigger refresh and check the access.log.
Actual results:
The traffic still goes through the HTTP Proxy.
Expected results:
It should not go through HTTP Proxy.