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

--- Comment #4 from Milamber <milam...@apache.org> 2011-10-01 07:23:51 UTC ---
Created attachment 27653
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27653
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?

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

-- 
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