Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Reckord2019-05-30 15:46:00 -0400
committerCarsten Reckord2019-05-30 15:47:09 -0400
commit64d72dbbd754c38e9402e1f0342f982f258c03c8 (patch)
tree0dea1af0d73a1e5080ec3cc54a51d2d2dbc171eb
parent157a38e5ba18fa19ab85c07629f4beb824141366 (diff)
downloadorg.eclipse.ecf-64d72dbbd754c38e9402e1f0342f982f258c03c8.tar.gz
org.eclipse.ecf-64d72dbbd754c38e9402e1f0342f982f258c03c8.tar.xz
org.eclipse.ecf-64d72dbbd754c38e9402e1f0342f982f258c03c8.zip
Bug 544447 - [provider] Implement filetransfer provider using HttpClient 4.5 API
Use shared HttpClient by default Change-Id: I5252cace3db328dddb541e5c7e9bea8597722486 Signed-off-by: Carsten Reckord <reckord@yatta.de>
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/internal/provider/filetransfer/httpclient45/Activator.java2
-rw-r--r--tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/URLRetrievePauseResumeTest.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/internal/provider/filetransfer/httpclient45/Activator.java b/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/internal/provider/filetransfer/httpclient45/Activator.java
index 11c300023..8b404b994 100644
--- a/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/internal/provider/filetransfer/httpclient45/Activator.java
+++ b/providers/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/internal/provider/filetransfer/httpclient45/Activator.java
@@ -99,7 +99,7 @@ public class Activator implements BundleActivator {
public static final String USE_SHARED_CLIENT = PLUGIN_ID + ".sharedClient"; //$NON-NLS-1$
- private static final String USE_SHARED_CLIENT_DEFAULT = "false"; //$NON-NLS-1$
+ private static final String USE_SHARED_CLIENT_DEFAULT = "true"; //$NON-NLS-1$
// The shared instance
private static Activator plugin;
diff --git a/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/URLRetrievePauseResumeTest.java b/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/URLRetrievePauseResumeTest.java
index 3811dafb9..256841d2c 100644
--- a/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/URLRetrievePauseResumeTest.java
+++ b/tests/bundles/org.eclipse.ecf.tests.filetransfer/src/org/eclipse/ecf/tests/filetransfer/URLRetrievePauseResumeTest.java
@@ -188,7 +188,6 @@ public class URLRetrievePauseResumeTest extends ContainerAbstractTestCase {
assertTrue("Nothing received after resume", downloaded.get() > downloadedUntilPause);
assertEquals("File corrupted", HTTP_RETRIEVE_MD5, downloadChecksum());
- Thread.sleep(500);//WIP
}
private String downloadChecksum() throws IOException, NoSuchAlgorithmException {

Back to the top