Closed rustyconover closed 2 years ago
Sorry for the delay on this. Autodiscovery is an awesome addition :)
Can you explain the Kerberos stuff a bit more though? I don't quite understand how it works since you're just setting an option that doesn't appear to be used anywhere in the codebase.
Hi,
The Kerberos feature is defined here: TooTallNate/node-http-proxy-agent#3.
Kerberos is an authentication mechanism that many corporate proxy servers require to be used to authenticate requests out over the network. See https://en.wikipedia.org/wiki/SPNEGO
Rusty
This PR implements WPAD or Web Proxy Autodiscovery via DNS as documented here:
https://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
There is a test case, that is enabled if the environment variable USE_PROXY_AUTODETECT is set.
Also add an example of how to enable Kerberos authentication for the proxy agent.
Signed-off-by: Rusty Conover rusty@twosigma.com