Calling release closes the underlying http connection as well as the InputStream. Because of the incremental parsing model, we can only call release when we're done parsing the document. Release also has the side effect of causing the http client to lose all of the headers returned with the response.
- James Garrett Rooney wrote: > On 11/3/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: >> Bringing this back up again. Can someone review this patch & >> discussion and decide how to fix this issue one way or the other? > > The patch just adds response.release() calls after each request in the > tests, right? Is there any reason we can't do that transparently > after the request has been run? Is it necessary to have the user do > it manually? > > -garrett >
