Hi Matt,
Thanks for your quick response. I think I have not been very clear with my question. Let me try to rephrase it with more details:
Given that: I have a resource some-resource.com which is accessible with or without proxy.
I have a proxy pac file at my-file-server.com/some-proxy.pac
I have a simple proxy server my-proxy.com:8080 configured/returned inside the pac file. All my traffic should go through this proxy server and if it’s not reachable, no resource should be accessible.
Now, when proxy server my-proxy.com:8080 is configured manually:
If proxy server is up, my resource some-resource.com is accessible via proxy.
If proxy server is down, my resource some-resource.com is no more accessible. This is as expected.
When proxy is configured automatic by providing pac file URL:
If proxy server my-proxy.com:8080 is up, my resource some-resource.com is accessible via proxy.
If proxy server my-proxy.com:8080 is down, my resource some-resource.com is still accessible, bypassing the proxy. This is what is not expected.
Please note, in case of automatic configuration, pac file located at my-file-server.com/some-proxy.pac is always accessible.
As you can see, there is a difference in behaviour of automatic proxy configuration using pac file and manually configuring the same proxy server. I have tried all the above scenarios in NetworkExtension proxy configuration as well WiFi proxy configuration and the result is same for both. So, is it expected that automatic proxy would be bypassed when proxy server is not reachable?