Announcing LittleProxy 0.1 based on Netty

Adam Fisk a at littleshoot.org
Wed Nov 4 01:34:03 EST 2009


OK - finally knocked this off, and it's working beautifully in FireFox and
Safari. All the credit really goes to Stephen - I'm just implementing his
fix here.

I agree with some of the earlier comments that since HttpMessage and its
subclasses are already mutable, it's not a big loss to add another mutable
field. That's the approach I took with the patch. I also think it makes
sense to keep HttpChunk immutable unless there's a concrete need to make it
mutable. I also don't think this is indicative of a design flaw.

Feel free to change the style, approach, or comments as you see fit,
Trustin. Thanks again Stephen. I like that handy netcat trick, by the way!

-Adam


On Tue, Nov 3, 2009 at 8:47 PM, Stephen Haberman
<stephen at exigencecorp.com>wrote:

>
> > I'm also happy to give you commit permissions if you like. This in
> > particular is clearly a Netty and not a LittleProxy issue, but I can
> > give you access to the repo if you need to make any changes going
> > forward.
>
> That's fine--I enjoyed tracking the bug down and also reading through
> the LittleProxy code.
>
> My proxy is more of a weekend (or two or three) hobby project--I
> wouldn't be surprised if its missing several boundary cases that
> LittleProxy handles more robustly.
>
> But I did finally get it into github:
>
> http://github.com/stephenh/fakehttp
>
> Being a hobby project, I also wrote it in Scala and, purposefully
> trying to keep it small, have kept it to ~450 LOC so far.
>
> - Stephen
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



-- 
Adam Fisk
http://www.littleshoot.org | http://adamfisk.wordpress.com |
http://twitter.com/adamfisk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20091103/c93831f4/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: transfer_encoding_http_version.diff
Type: application/octet-stream
Size: 3345 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091103/c93831f4/attachment.obj 


More information about the netty-users mailing list