HTTPCLIENT-2069: RequestConfig#copy does not copy #responseTimeout
This commit is contained in:
parent
98daeabc05
commit
92100e13a6
|
@ -231,6 +231,7 @@ public class RequestConfig implements Cloneable {
|
|||
builder.append(", proxyPreferredAuthSchemes=").append(proxyPreferredAuthSchemes);
|
||||
builder.append(", connectionRequestTimeout=").append(connectionRequestTimeout);
|
||||
builder.append(", connectTimeout=").append(connectTimeout);
|
||||
builder.append(", responseTimeout=").append(responseTimeout);
|
||||
builder.append(", connectionKeepAlive=").append(connectionKeepAlive);
|
||||
builder.append(", contentCompressionEnabled=").append(contentCompressionEnabled);
|
||||
builder.append(", hardCancellationEnabled=").append(hardCancellationEnabled);
|
||||
|
@ -255,6 +256,7 @@ public class RequestConfig implements Cloneable {
|
|||
.setProxyPreferredAuthSchemes(config.getProxyPreferredAuthSchemes())
|
||||
.setConnectionRequestTimeout(config.getConnectionRequestTimeout())
|
||||
.setConnectTimeout(config.getConnectTimeout())
|
||||
.setResponseTimeout(config.getResponseTimeout())
|
||||
.setConnectionKeepAlive(config.getConnectionKeepAlive())
|
||||
.setContentCompressionEnabled(config.isContentCompressionEnabled())
|
||||
.setHardCancellationEnabled(config.isHardCancellationEnabled());
|
||||
|
|
Loading…
Reference in New Issue