#isStale to return true if the connection has been aborted
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@627464 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
203da55be6
commit
d720162806
|
@ -165,6 +165,8 @@ public abstract class AbstractClientConnAdapter
|
|||
|
||||
// non-javadoc, see interface HttpConnection
|
||||
public boolean isStale() {
|
||||
if (aborted)
|
||||
return true;
|
||||
OperatedClientConnection conn = getWrappedConnection();
|
||||
if (conn == null)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue