On Wed, 2008-08-20 at 16:12 -0700, Rae Egli wrote:
> Does anybody have any suggestions as to how to implement tunneling to extend 
> the nio proxy server.
>  
> I've looked at the potential of subclassing DefaultNHttpServerConnection on 
> the client side with a pass-through function once the client connection is in 
> tunnel mode.  A similar thing could be attempted on the origin side though 
> there it would be somewhat different because there would be no preexisting 
> http connection.
>  
> Any suggestions would be greatly appreciated.
>  

Hi Rae

Yes, it appears one needs to subclass the default HTTP connection impls
and add ability to read / write raw data in order to implement a
tunneling proxy.

Alternatively you could implement a customized I/O event dispatcher that
discards the HTTP connection object once the CONNECT method has been
successfully executed and works directly with the underlying IOSession
objects in order to transfer raw data.

Hope this helps

Oleg 


> Thanks
>  
> Rae
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to