« Return to Thread: HttpUrl Input/Output stream problems

Re: HttpUrl Input/Output stream problems

by emfoss :: Rate this Message:

Reply to Author | View in Thread

We had a similar issue. There appears to be some sort of resource leak  with the Parse(inputStream) methods.
By changing:
Alistair Young wrote:
...
SomeDocument doc = SomeDocument.Factory.parse(request.getInputStream());

...
To

theString= aMethodToConvertToString(request.getInputStream());
SomeDocument doc = SomeDocument.Factory.parse(theString);

we eliminated the behaviour.

 « Return to Thread: HttpUrl Input/Output stream problems