async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

JDKAsyncHttpProvider: proxy variable declared but not used

Open srirama-rayaprolu opened this issue 13 years ago • 2 comments

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()); } }

srirama-rayaprolu avatar Sep 10 '13 07:09 srirama-rayaprolu

This is not an issue. It is observation while going through the code.

srirama-rayaprolu avatar Sep 12 '13 08:09 srirama-rayaprolu

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.

slandelle avatar Jan 22 '14 02:01 slandelle