You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2016/05/20 01:58:23 UTC

cxf git commit: [CXF-6910]don't need setSocketTimeout when create ahc RequestConfig

Repository: cxf
Updated Branches:
  refs/heads/master bf43b5f75 -> c681373b5


[CXF-6910]don't need setSocketTimeout when create ahc RequestConfig


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c681373b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c681373b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c681373b

Branch: refs/heads/master
Commit: c681373b5068326d272a46b59e2e9394f94e95ec
Parents: bf43b5f
Author: Freeman Fang <fr...@gmail.com>
Authored: Fri May 20 09:58:07 2016 +0800
Committer: Freeman Fang <fr...@gmail.com>
Committed: Fri May 20 09:58:07 2016 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c681373b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
----------------------------------------------------------------------
diff --git a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
index a3421e3..85d08cc 100644
--- a/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
+++ b/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java
@@ -216,7 +216,6 @@ public class AsyncHTTPConduit extends URLConnectionHTTPConduit {
         e.setEntity(entity);
 
         RequestConfig.Builder b = RequestConfig.custom()
-            .setSocketTimeout((int) csPolicy.getReceiveTimeout())
             .setConnectTimeout((int) csPolicy.getConnectionTimeout());
         Proxy p = proxyFactory.createProxy(csPolicy, uri);
         if (p != null && p.type() != Proxy.Type.DIRECT) {