jira-importer opened a new issue, #1290:
URL: https://github.com/apache/httpcomponents-core/issues/1290

   **[Vijendra 
Kulhade](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vijendra07kulhade)**
 opened 
**[HTTPCORE-579](https://issues.apache.org/jira/browse/HTTPCORE-579?redirect=false)**
 and commented
   
   I was using below Example to check the connection timeout. It doesn't seems 
to work in we remove setProxy from asyncHttpClient Builder.
   
   ```java
   // code placeholder
    // Create an HttpClient with the given custom dependencies and 
configuration.
           CloseableHttpAsyncClient httpclient = HttpAsyncClients.custom()
               .setConnectionManager(connManager)
               .setDefaultCookieStore(cookieStore)
               .setDefaultCredentialsProvider(credentialsProvider)
               //.setProxy(new HttpHost("localhost", 8889))
               .setDefaultRequestConfig(defaultRequestConfig)
               .build();
   ```
   
   
http://hc.apache.org/httpcomponents-asyncclient-4.1.x/httpasyncclient/examples/org/apache/http/examples/nio/client/AsyncClientConfiguration.java
   
   
   ---
   
   **Affects:** 4.4.10
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to