Michael Becke a ecrit : > This patch should take care of the problems discovered by Aurelien. > Now all connections returned from the > MultiThreadedHttpConnectionManager are wrapped in an adapter class. > This class ensures that a connection cannot be reused once released. > Please let me know you think. > > Thanks Aurelien for finding this one and helping to test. Also thanks > to Eric for suggesting this solution. > > Mike
Your largely welcome ! Thx for fixing it. BTW, I have a question that has nothing to do with the bug, and nearly nothing to do with httpclient, but with my webapp : I'm making two distants servlet interact using httpclient. I get the stream and "strip" what is unnecessary, rewrite some tags, and locations href, well I'm making changes to the HTML returned. Imagine now the two servlets are on the same server, it works fine (I make call to localhost), but I know it could be much faster and more reliable making servlet interacts directly. So I took a look at the way to do the things I do (get the stream from another servlet, work with it and write in the stream of another servlet) and the only thing I found are : - include() method on servletrequestdispatcher, and forward() But I can't simply include the response, I have to work with it before including it in the response. Any way to do it without breaking the working of the distant servlet ? Sorry for asking here, but I don't know where to post this kind of questions... Sun forums ? Thx for any pointers, Aurelien --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]