cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject cxf git commit: [CXF-6910]don't need setSocketTimeout when create ahc RequestConfig
Date Fri, 20 May 2016 01:59:10 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 55829d69d -> fbfd097a1


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

(cherry picked from commit c681373b5068326d272a46b59e2e9394f94e95ec)


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

Branch: refs/heads/3.1.x-fixes
Commit: fbfd097a19162ec1a2b81985ca8ff4747307497e
Parents: 55829d6
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Fri May 20 09:58:07 2016 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Fri May 20 09:58:47 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/fbfd097a/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) {


Mime
View raw message