Proxy server example

Michael McGrady mmcgrady at topiatechnology.com
Thu Sep 10 02:56:04 EDT 2009


Pavan, if it is not rude, could you provide this in a zip or gz file  
as well?  50 bucks to get the stuffit to open an RAR on a Mac.

Mike


On Sep 9, 2009, at 11:02 PM, 이희승 (Trustin Lee) wrote:

> Hi Pavan,
>
> First off, thank you very much for sharing your work.  It is  
> impressive!
>
> On Wed, 9 Sep 2009 16:19:25 +0900 (KST)
> pavanmedishetty <pavanmails at gmail.com> wrote:
>>
>>
>> Hi All,
>> I wrote a generic proxy server, with it ideally we should connect to
>> any website and browse them.
>> I am attaching source here.
>>
>> I tested it with normal and SSL websites. Most of sites are working.
>>
>> But some times getting issues with chunked responses, where first
>> chunk is passed to browser but failing to pass remaining chunks
>> (browser to proxy channel is getting closed before response is placed
>> in that channel)
>>
>> If any one can tell me if I wrote anything wrong in it. Thanks in
>> Advance.
>
> Perhaps you might want to reuse the HTTP codec for more robust  
> handling
> of HTTP requests and responses?
>
>> BTW: I used Trustin's Hexdump Proxy and modified some code in it to
>> get this proxy.
>> The main changes are:
>> 1) Identifying Host dynamically from HTTP request.
>> 2) Changed Pipeline coverage to "all"
>>
>>
>> http://n2.nabble.com/file/n3608867/proxy.rar proxy.rar
>>
>> -Pavan Medishetty
>
> -- 
> Trustin Lee, http://gleamynode.net/
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

Mike McGrady
Principal Investigator AF081-028 AFRL SBIR
Senior Engineer
Topia Technology, Inc
1.253.720.3365
mmcgrady at topiatechnology.com










More information about the netty-users mailing list