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 {
|
public class ExecReqThread extends GetConnThread {
|
||||||
|
|
||||||
protected RequestSpec request_spec;
|
protected RequestSpec request_spec;
|
||||||
protected HttpResponse response;
|
protected volatile HttpResponse response;
|
||||||
protected byte[] response_data;
|
protected volatile byte[] response_data;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -48,8 +48,8 @@ public class GetConnThread extends Thread {
|
||||||
protected HttpRoute conn_route;
|
protected HttpRoute conn_route;
|
||||||
protected long conn_timeout;
|
protected long conn_timeout;
|
||||||
|
|
||||||
protected ManagedClientConnection connection;
|
protected volatile ManagedClientConnection connection;
|
||||||
protected Throwable exception;
|
protected volatile Throwable exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new thread.
|
* Creates a new thread.
|
||||||
|
|
|
@ -44,8 +44,8 @@ public class AwaitThread extends Thread {
|
||||||
protected Lock wait_lock;
|
protected Lock wait_lock;
|
||||||
protected Date wait_deadline;
|
protected Date wait_deadline;
|
||||||
|
|
||||||
protected boolean waiting;
|
protected volatile boolean waiting;
|
||||||
protected Throwable exception;
|
protected volatile Throwable exception;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue