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

   **[Robert 
Stupp](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=snazy)** 
opened 
**[HTTPCORE-356](https://issues.apache.org/jira/browse/HTTPCORE-356?redirect=false)**
 and commented
   
   I tried to add support for httpcore-nio to our internal libraries, that 
still use synchronous IO.
   
   We have a central place in our libraries, that provides a "singleton" http 
support with proxy configuration per target host.
   
   This works fins in httpcore 4.2 using java.net.ProxySelector and 
org.apache.http.impl.conn.ProxySelectorRoutePlanner.
   
   I digged into the httpcore-nio code and could not find any place where a 
such decisions are made. The HttpHost provided as "route" parameter is passed 
1:1 to NIO connection pool, which is wrong for proxied hosts :(
   
   I assume that a "proxy capable" implementation of HttpAsyncRequestProducer 
is needed.
   
   
   ---
   
   **Affects:** 4.3
   


-- 
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