geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sangjin Lee (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3706) support for proxy
Date Wed, 19 Dec 2007 02:19:43 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553204
] 

Sangjin Lee commented on GERONIMO-3706:
---------------------------------------

I have a suggestion that I suspect will work for the SSL tunneling.  The notion of mina IoFilters
is exactly for this type of operations.  Once inserted in the chain, IoFilters can intercept
events and messages in either direction, and take its own action and/or forward it to the
next filter.

My idea revolves around creating a *one-time* IoFilter that does the HTTP CONNECT transaction
once the socket is connected.  Once it receives a successful response from the proxy as a
result of the CONNECT request, then it can *remove itself from the chain* (as it's fulfilled
its purpose) and add the SSL filter to the chain to create the layering.

It may sound sneaky, but it might be a natural solution given the mina architecture.

I'll see if I can work out a proof of concept...

> support for proxy
> -----------------
>
>                 Key: GERONIMO-3706
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3706
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: AsyncHttpClient
>    Affects Versions: 1.x
>            Reporter: Sangjin Lee
>
> Proxy support is a critical feature for HTTP clients.  I'd like to have AsyncHttpClient
support proxy.  The following would be considered as the basic features:
> - Enabling connecting through proxies for http and https targets
> - Exclusion (domains that should not go through proxies)
> - Allowing proxy related configuration on AsyncHttpClient
> - Support for proxy authentication, at least for Basic authentication (and perhaps Digest
too?)
> There are things like SOCKS support, etc., but the above will be a good start.  Thoughts?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message