Skip to content

Commit

Permalink
add missing property copies (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
seaswalker authored May 29, 2024
1 parent 9a31ce5 commit e3cb7fe
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ public Builder(AsyncHttpClientConfig config) {
disableZeroCopy = config.isDisableZeroCopy();
keepEncodingHeader = config.isKeepEncodingHeader();
proxyServerSelector = config.getProxyServerSelector();
validateResponseHeaders = config.isValidateResponseHeaders();

// websocket
aggregateWebSocketFrameFragments = config.isAggregateWebSocketFrameFragments();
Expand All @@ -907,15 +908,19 @@ public Builder(AsyncHttpClientConfig config) {
// keep-alive
keepAlive = config.isKeepAlive();
pooledConnectionIdleTimeout = config.getPooledConnectionIdleTimeout();
connectionPoolCleanerPeriod = config.getConnectionPoolCleanerPeriod();
connectionTtl = config.getConnectionTtl();
maxConnections = config.getMaxConnections();
maxConnectionsPerHost = config.getMaxConnectionsPerHost();
channelPool = config.getChannelPool();
connectionSemaphoreFactory = config.getConnectionSemaphoreFactory();
keepAliveStrategy = config.getKeepAliveStrategy();
acquireFreeChannelTimeout = config.getAcquireFreeChannelTimeout();

// ssl
useOpenSsl = config.isUseOpenSsl();
useInsecureTrustManager = config.isUseInsecureTrustManager();
disableHttpsEndpointIdentificationAlgorithm = config.isDisableHttpsEndpointIdentificationAlgorithm();
handshakeTimeout = config.getHandshakeTimeout();
enabledProtocols = config.getEnabledProtocols();
enabledCipherSuites = config.getEnabledCipherSuites();
Expand All @@ -930,6 +935,10 @@ public Builder(AsyncHttpClientConfig config) {
responseFilters.addAll(config.getResponseFilters());
ioExceptionFilters.addAll(config.getIoExceptionFilters());

// cookie store
cookieStore = config.getCookieStore();
expiredCookieEvictionDelay = config.expiredCookieEvictionDelay();

// tuning
tcpNoDelay = config.isTcpNoDelay();
soReuseAddress = config.isSoReuseAddress();
Expand All @@ -943,6 +952,7 @@ public Builder(AsyncHttpClientConfig config) {
httpClientCodecMaxInitialLineLength = config.getHttpClientCodecMaxInitialLineLength();
httpClientCodecMaxHeaderSize = config.getHttpClientCodecMaxHeaderSize();
httpClientCodecMaxChunkSize = config.getHttpClientCodecMaxChunkSize();
httpClientCodecInitialBufferSize = config.getHttpClientCodecInitialBufferSize();
chunkedFileChunkSize = config.getChunkedFileChunkSize();
channelOptions.putAll(config.getChannelOptions());
eventLoopGroup = config.getEventLoopGroup();
Expand Down

0 comments on commit e3cb7fe

Please sign in to comment.