I am trying to configure either Manual or Automatic proxy in Network extension using NEProxySettings in NEPacketTunnelNetworkSettings. Below are my observations made when proxy is configured,
Manual proxy
When Proxy server is reachable: resources are accessible
When Proxy server is not reachable: resources are inaccessible (expected behaviour).
Automatic proxy either using javascript(proxyAutoConfigurationJavaScript) or URL(proxyAutoConfigurationURL)
When Proxy server is reachable: resources are accessible
When Proxy server is not reachable: proxy is bypassed and resources are accessible
Manual proxy: resources are inaccessible
Automatic proxy:
When PAC URL is reachable: resources are inaccessible
When PAC URL is not reachable: resources are accessible
How is Automatic proxy designed to work in NEProxySettings when proxy server is down?
How can I get the same behaviour as Manual proxy(not bypassing proxy) in Automatic proxy when proxy server is down?