hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1692467 - /httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Date Fri, 24 Jul 2015 08:56:27 GMT
Author: olegk
Date: Fri Jul 24 08:56:26 2015
New Revision: 1692467

URL: http://svn.apache.org/r1692467
Log:
HTTPCLIENT-1668: Fluent request incorrectly handles connect timeout setting

Modified:
    httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java

Modified: httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java?rev=1692467&r1=1692466&r2=1692467&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
(original)
+++ httpcomponents/httpclient/branches/4.5.x/fluent-hc/src/main/java/org/apache/http/client/fluent/Request.java
Fri Jul 24 08:56:26 2015
@@ -163,7 +163,7 @@ public class Request {
             builder.setSocketTimeout(this.socketTmeout);
         }
         if (this.connectTimeout != null) {
-            builder.setSocketTimeout(this.connectTimeout);
+            builder.setConnectTimeout(this.connectTimeout);
         }
         if (this.proxy != null) {
             builder.setProxy(this.proxy);



Mime
View raw message