Skip to content

Commit c7913af

Browse files
Merge pull request #918 from nandika/master
Fix for AXIS2-6092
2 parents 712d6d4 + fde1f07 commit c7913af

File tree

1 file changed

+0
-9
lines changed
  • modules/transport/http/src/main/java/org/apache/axis2/transport/http

1 file changed

+0
-9
lines changed

modules/transport/http/src/main/java/org/apache/axis2/transport/http/AxisServlet.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -593,15 +593,6 @@ public void destroy() {
593593
} catch (Exception e) {
594594
log.info(e.getMessage());
595595
}
596-
// AXIS2-4898: MultiThreadedHttpConnectionManager starts a thread that is not stopped by the
597-
// shutdown of the connection manager. If we want to avoid a resource leak, we need to call
598-
// shutdownAll here.
599-
try {
600-
Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager").getMethod("shutdownAll").invoke(null);
601-
} catch (Exception ex) {
602-
log.error("Failed to shut down MultiThreadedHttpConnectionManager", ex);
603-
}
604-
605596
}
606597

607598
private String getHTTPClientVersion() {

0 commit comments

Comments
 (0)