https://issues.apache.org/bugzilla/show_bug.cgi?id=51918

--- Comment #5 from Sebb <s...@apache.org> 2011-10-01 09:42:55 UTC ---
(In reply to comment #4)
> Created attachment 27653 [details]
> readBuffer local in readResponse()
> 
> the readResponse() in HTTPSampleBase isn't thread safe because there iss this
> line:
> byte[] readBuffer = getThreadContext().getReadBuffer();
> 
> The getReadBuffer() (from JMeterContext) is:
> A temporary buffer that can be shared between samplers in a thread.
> 
> I thinks that it isn't necessary to have a temp share buffer?

It was only there to save recreating it for each sample.

> I purpose to use a local readBuffer at each call method (patch)

Agreed.

In the meantime, the work-round is to avoid using concurrent downloads
entirely.

As far as I can tell, all such downloads are potentially affected.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@jakarta.apache.org
For additional commands, e-mail: notifications-h...@jakarta.apache.org

Reply via email to