Skip to content

Commit e3cb7fe

Browse files
authored
add missing property copies (#1958)
1 parent 9a31ce5 commit e3cb7fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

client/src/main/java/org/asynchttpclient/DefaultAsyncHttpClientConfig.java

+10
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ public Builder(AsyncHttpClientConfig config) {
890890
disableZeroCopy = config.isDisableZeroCopy();
891891
keepEncodingHeader = config.isKeepEncodingHeader();
892892
proxyServerSelector = config.getProxyServerSelector();
893+
validateResponseHeaders = config.isValidateResponseHeaders();
893894

894895
// websocket
895896
aggregateWebSocketFrameFragments = config.isAggregateWebSocketFrameFragments();
@@ -907,15 +908,19 @@ public Builder(AsyncHttpClientConfig config) {
907908
// keep-alive
908909
keepAlive = config.isKeepAlive();
909910
pooledConnectionIdleTimeout = config.getPooledConnectionIdleTimeout();
911+
connectionPoolCleanerPeriod = config.getConnectionPoolCleanerPeriod();
910912
connectionTtl = config.getConnectionTtl();
911913
maxConnections = config.getMaxConnections();
912914
maxConnectionsPerHost = config.getMaxConnectionsPerHost();
913915
channelPool = config.getChannelPool();
914916
connectionSemaphoreFactory = config.getConnectionSemaphoreFactory();
915917
keepAliveStrategy = config.getKeepAliveStrategy();
918+
acquireFreeChannelTimeout = config.getAcquireFreeChannelTimeout();
916919

917920
// ssl
921+
useOpenSsl = config.isUseOpenSsl();
918922
useInsecureTrustManager = config.isUseInsecureTrustManager();
923+
disableHttpsEndpointIdentificationAlgorithm = config.isDisableHttpsEndpointIdentificationAlgorithm();
919924
handshakeTimeout = config.getHandshakeTimeout();
920925
enabledProtocols = config.getEnabledProtocols();
921926
enabledCipherSuites = config.getEnabledCipherSuites();
@@ -930,6 +935,10 @@ public Builder(AsyncHttpClientConfig config) {
930935
responseFilters.addAll(config.getResponseFilters());
931936
ioExceptionFilters.addAll(config.getIoExceptionFilters());
932937

938+
// cookie store
939+
cookieStore = config.getCookieStore();
940+
expiredCookieEvictionDelay = config.expiredCookieEvictionDelay();
941+
933942
// tuning
934943
tcpNoDelay = config.isTcpNoDelay();
935944
soReuseAddress = config.isSoReuseAddress();
@@ -943,6 +952,7 @@ public Builder(AsyncHttpClientConfig config) {
943952
httpClientCodecMaxInitialLineLength = config.getHttpClientCodecMaxInitialLineLength();
944953
httpClientCodecMaxHeaderSize = config.getHttpClientCodecMaxHeaderSize();
945954
httpClientCodecMaxChunkSize = config.getHttpClientCodecMaxChunkSize();
955+
httpClientCodecInitialBufferSize = config.getHttpClientCodecInitialBufferSize();
946956
chunkedFileChunkSize = config.getChunkedFileChunkSize();
947957
channelOptions.putAll(config.getChannelOptions());
948958
eventLoopGroup = config.getEventLoopGroup();

0 commit comments

Comments
 (0)