how to set up the speed limit for a session ?

2010-12-20 Thread Сергей Григорьев
Hello All, My company is evaluating MINA for building a content-delivery system. I am in charge of creaing a pilot project. The prototype is a simple HTTP proxy which stands between the clients and a heavy-loaded web server. I've found an example of proxy in MINA souces, then tried it. It didn't

Re: when serializing an HttpRequest into byte stream Cookie: headers are replaced with Set-cookie. The fixing patch is attached

2010-12-11 Thread Сергей Григорьев
I suppose that the server should not set cookies on an HttpRequest, it should set cookies on an HttpResponse, do you agree ?

Re: when serializing an HttpRequest into byte stream Cookie: headers are replaced with Set-cookie. The fixing patch is attached

2010-12-11 Thread Сергей Григорьев
Well, for now it is not a big issue because my proxy doesn't parse response , it just feeds the response bytes back to the client without any parsing. On Sat, Dec 11, 2010 at 5:04 PM, Emmanuel Lécharny elecha...@apache.orgwrote: Btw, looking at the DefaultHttpResponse code, I see :

when serializing an HttpRequest into byte stream Cookie: headers are replaced with Set-cookie. The fixing patch is attached

2010-12-09 Thread Сергей Григорьев
Hello All, I have developed an HTTP proxy with Mina and detected that cookies from browser are lost. This must be a typo error. Index: DefaultHttpRequest.java === --- DefaultHttpRequest.java (revision 1043657) +++