[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008590#comment-18008590
 ] 

Arturo Bernal commented on HTTPCLIENT-2369:
-------------------------------------------

[~snehanie] 

when you have a chance could you give the latest patch a spin? The proxy-lookup 
has been moved entirely into {{{}SystemDefaultRoutePlanner{}}}: if the active 
{{ProxySelector}} says “direct”, the planner now consults the usual environment 
variables—{{{}HTTP_PROXY{}}}, {{{}HTTPS_PROXY{}}}, and {{{}NO_PROXY{}}}—and 
builds the route from them. Nothing touches JVM system properties, so the 
traditional {{useSystemProperties()}} path still works as before while an app 
that relies only on env-vars should now connect through its corporate proxy out 
of the box.

Let us know whether this matches what you were hoping for or if anything is 
still missing.

> Tunnelling over HTTPS proxy connection / TLS session layering
> -------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2369
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2369
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient (async)
>    Affects Versions: 5.4
>            Reporter: Sneha Murganoor
>            Priority: Minor
>             Fix For: Future
>
>
> I'm working on implementing a client that needs to connect to HTTPS endpoints 
> through an HTTPS proxy. I'd like to use 
> CloseableHttpAsyncClient/InternalHttpAsyncClient from Apache HttpComponents 
> AsyncClient library for this purpose. Does it support HTTPS proxy tunneling 
> to HTTPS targets?
> Also, if CloseableHttpAsyncClient//InternalHttpAsyncClient isn't suitable for 
> this scenario, what alternatives would you recommend?
>  
> Thanks in Advance,
> Sneha



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to