JDKAsyncHttpProvider: proxy variable declared but not used
Hi Team: The below piece of code, in JDKAsyncHttpProvider in execute method, proxy is declared but not used. However, the same check we are doing in createUrlConnection method. Pls. remove the following from execute method of JDKAsyncHttpProvider class.
Proxy proxy = null; if (proxyServer != null || realm != null) { try { proxy = configureProxyAndAuth(proxyServer, realm); } catch (AuthenticationException e) { throw new IOException(e.getMessage()); } }
This is not an issue. It is observation while going through the code.
JDKAsyncHttpProvider is being dropped in AHC2 due to lack of a maintainer. Closing this, but could reopen if someone is willing to take the job.