hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1240744 - /httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java
Date Sun, 05 Feb 2012 15:08:04 GMT
Author: olegk
Date: Sun Feb  5 15:08:04 2012
New Revision: 1240744

URL: http://svn.apache.org/viewvc?rev=1240744&view=rev
Log:
Fixed deadlock on AbstractHttpAsyncClient instance in the #shutdown() method

Modified:
    httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java

Modified: httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java?rev=1240744&r1=1240743&r2=1240744&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java
(original)
+++ httpcomponents/httpasyncclient/trunk/httpasyncclient/src/main/java/org/apache/http/impl/nio/client/AbstractHttpAsyncClient.java
Sun Feb  5 15:08:04 2012
@@ -485,7 +485,7 @@ public abstract class AbstractHttpAsyncC
         this.reactorThread.start();
     }
 
-    public synchronized void shutdown() throws InterruptedException {
+    public void shutdown() throws InterruptedException {
         try {
             this.connmgr.shutdown(5000);
         } catch (IOException ex) {



Mime
View raw message