cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [13/50] [abbrv] cxf git commit: [CXF-6910]don't need setSocketTimeout when create ahc RequestConfig
Date Thu, 26 May 2016 21:45:41 GMT
[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-jaxrs-2.1
Commit: c681373b5068326d272a46b59e2e9394f94e95ec
Parents: bf43b5f
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: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) {


Mime
View raw message