more volatiles, not sure whether these are needed
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@630417 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
898a8edc53
commit
a42e4de19e
|
@ -50,9 +50,9 @@ import org.apache.http.util.EntityUtils;
|
|||
*/
|
||||
public class ExecReqThread extends GetConnThread {
|
||||
|
||||
protected RequestSpec request_spec;
|
||||
protected HttpResponse response;
|
||||
protected byte[] response_data;
|
||||
protected RequestSpec request_spec;
|
||||
protected volatile HttpResponse response;
|
||||
protected volatile byte[] response_data;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -48,8 +48,8 @@ public class GetConnThread extends Thread {
|
|||
protected HttpRoute conn_route;
|
||||
protected long conn_timeout;
|
||||
|
||||
protected ManagedClientConnection connection;
|
||||
protected Throwable exception;
|
||||
protected volatile ManagedClientConnection connection;
|
||||
protected volatile Throwable exception;
|
||||
|
||||
/**
|
||||
* Creates a new thread.
|
||||
|
|
|
@ -44,8 +44,8 @@ public class AwaitThread extends Thread {
|
|||
protected Lock wait_lock;
|
||||
protected Date wait_deadline;
|
||||
|
||||
protected boolean waiting;
|
||||
protected Throwable exception;
|
||||
protected volatile boolean waiting;
|
||||
protected volatile Throwable exception;
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue