### Eclipse Workspace Patch 1.0 #P org.eclipse.mylyn.bugzilla.core Index: src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java,v retrieving revision 1.212 diff -u -r1.212 BugzillaClient.java --- src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java 24 Jan 2010 14:30:04 -0000 1.212 +++ src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java 8 Feb 2010 04:12:24 -0000 @@ -642,7 +642,7 @@ } finally { attempt++; if (method != null) { - method.releaseConnection(); + WebUtil.releaseConnection(method, monitor); } } } #P org.eclipse.mylyn.commons.net Index: META-INF/MANIFEST.MF =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.commons.net/META-INF/MANIFEST.MF,v retrieving revision 1.74 diff -u -r1.74 MANIFEST.MF --- META-INF/MANIFEST.MF 14 Oct 2009 07:16:19 -0000 1.74 +++ META-INF/MANIFEST.MF 8 Feb 2010 04:12:25 -0000 @@ -2,7 +2,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %Bundle-Name Bundle-SymbolicName: org.eclipse.mylyn.commons.net;singleton:=true -Bundle-Version: 3.3.0.v20091013-0200-e3x +Bundle-Version: 3.4.0.qualifier Bundle-Vendor: %Bundle-Vendor Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: J2SE-1.5 Index: src/org/eclipse/mylyn/commons/net/WebUtil.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.commons.net/src/org/eclipse/mylyn/commons/net/WebUtil.java,v retrieving revision 1.28 diff -u -r1.28 WebUtil.java --- src/org/eclipse/mylyn/commons/net/WebUtil.java 13 Oct 2009 02:20:40 -0000 1.28 +++ src/org/eclipse/mylyn/commons/net/WebUtil.java 8 Feb 2010 04:12:25 -0000 @@ -776,4 +776,16 @@ return Proxy.NO_PROXY; } + /** + * @since 3.4 + */ + public static void releaseConnection(HttpMethodBase method, IProgressMonitor monitor) { + if (monitor != null && monitor.isCanceled()) { + // force a connection close on cancel to avoid blocking to do reading the remainder of the response + method.abort(); + } else { + method.releaseConnection(); + } + } + }