mirror of https://github.com/apache/activemq.git
workaround for issue: https://issues.apache.org/jira/browse/AMQ-4307
attempt to get around the deadlock by detecting and interrupting the locked thread. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1501500 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
840ca30e90
commit
34ce33613c
|
@ -303,7 +303,7 @@ public class HttpClientTransport extends HttpTransportSupport {
|
|||
|
||||
abortThread.start();
|
||||
abortThread.join(2000);
|
||||
if (!abortThread.isAlive()) {
|
||||
if (abortThread.isAlive() && !httpMethod.isAborted()) {
|
||||
abortThread.interrupt();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue