On Fri, 2008-06-06 at 15:43 +0200, Martin Zdila wrote: > > I'll patch HttpClient to throw an exception if an attempt is made to > > retry a request with a non-repeatable request entity. > > thanks > > > Meanwhile I suggest you change you code to use a repeatable entity, such > > as StringEntity or ByteArrayEntity. > > i can use this workaround for now. as i mentioned, i am using httpclient as > proxy server and i am forwarding HttpServletRequest through HttpClient. if > somebody is uploading 100MB file then it would be much more efficient to > stream it than to first read it to the memory and then send it to remote > server. >
You are out of luck then. > i would be happy if we could find out why those "I/O Exception"s are occuring > and to fix it. > Most likely this is because the connection timed out on the server side. The target server dropped it, but the JVM on the client-side failed to detect it. Next time the connection is retrieved from the pool and re-used on the client side it blows up an I/O exception. This appears to be a local connectivity problem, something I was trying to tell all along. Oleg > thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
