Re:Bounce your http requests around with bouncy
by MartinMond on Tuesday October 11, 2011 @05:57AM
(#3097931)
How does it deal with a second HTTP requests on one kept-alive connection that should be routed to another server?
[ Parent
| on HN ]
Re:Bounce your http requests around with bouncy
by substack on Tuesday October 11, 2011 @06:09AM
(#3097958)
I guess what I was saying there isn't the whole story, since bouncy uses node's http parser directly to handle splitting up keep-alive requests. What I meant was more that bouncy sends data over a tcp stream instead of simply passing the request object through to an http client request.
Re:Bounce your http requests around with bouncy
by MartinMond on Tuesday October 11, 2011 @06:18AM
(#3097987)
Ok, then this is awesome. Also, does it maintain the upstream connections?
E.g. do two requests on one kept-alive connection get translated into two separate requests for the upstream server or will the upstream connection also be kept-alive/reused?
Re:Bounce your http requests around with bouncy
by substack on Tuesday October 11, 2011 @09:45AM
(#3098497)
You have to roll this yourself right now with a connection pool of stream objects. I'll probably build this out as a separate module.
Re:Bounce your http requests around with bouncy
by MartinMond on Tuesday October 11, 2011 @10:16AM
(#3098623)
Please do. I think there is no (open source) proxy out there that supports this.