HTTPCLIENT-1668: Fluent request incorrectly handles connect timeout setting

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1692468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-07-24 08:58:05 +00:00
parent 58973ffa45
commit a09842cff9
1 changed files with 1 additions and 1 deletions

View File

@ -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);