We run devices on customers’ corporate networks. We’ve recently had a request to support proxy auto-configuration for our devices’ connections to REST APIs, including the Mender client’s connection to hosted.mender.io. Currently we’re using a workaround by supplying a fixed proxy server address through the HTTPS_PROXY environment variable. The customer would prefer the client to download a PAC file in order to resolve the proxy server address (or list of addresses to try in order).
Would you consider pulling in optional support for PAC file processing? I don’t have any Golang programming experience but I did come across a PAC parsing library and an example of a transport client that uses it:
Could this somehow be integrated into the Mender client’s HTTP transport?