On Tue, 2006-08-15 at 14:47 -0700, Igor Lubashev wrote: > Hi! > > > > I am new to this list, so I apologize if this topic has been beaten to > death already. > > > > I am reading the tutorial, and it claims that I always must fully read > the body of the response (of the GET method, for example) before > releasing the connection. > > > > What should I do if I really do not care about the response body (either > because of the status code or because I suspect that the server is a > rouge server and is sending me an infinite-sided body)? If there a way > to cleanly either abort the current method or cleanly kill the > connection (and let the MultiThreadedHttpConnectionManager open another > one next time it is needed)? > >
HttpMethod#abort is your friend Hope this helps Oleg > > Thanks, > > > > - Igor > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
