@@ -890,6 +890,7 @@ public Builder(AsyncHttpClientConfig config) {
890
890
disableZeroCopy = config .isDisableZeroCopy ();
891
891
keepEncodingHeader = config .isKeepEncodingHeader ();
892
892
proxyServerSelector = config .getProxyServerSelector ();
893
+ validateResponseHeaders = config .isValidateResponseHeaders ();
893
894
894
895
// websocket
895
896
aggregateWebSocketFrameFragments = config .isAggregateWebSocketFrameFragments ();
@@ -907,15 +908,19 @@ public Builder(AsyncHttpClientConfig config) {
907
908
// keep-alive
908
909
keepAlive = config .isKeepAlive ();
909
910
pooledConnectionIdleTimeout = config .getPooledConnectionIdleTimeout ();
911
+ connectionPoolCleanerPeriod = config .getConnectionPoolCleanerPeriod ();
910
912
connectionTtl = config .getConnectionTtl ();
911
913
maxConnections = config .getMaxConnections ();
912
914
maxConnectionsPerHost = config .getMaxConnectionsPerHost ();
913
915
channelPool = config .getChannelPool ();
914
916
connectionSemaphoreFactory = config .getConnectionSemaphoreFactory ();
915
917
keepAliveStrategy = config .getKeepAliveStrategy ();
918
+ acquireFreeChannelTimeout = config .getAcquireFreeChannelTimeout ();
916
919
917
920
// ssl
921
+ useOpenSsl = config .isUseOpenSsl ();
918
922
useInsecureTrustManager = config .isUseInsecureTrustManager ();
923
+ disableHttpsEndpointIdentificationAlgorithm = config .isDisableHttpsEndpointIdentificationAlgorithm ();
919
924
handshakeTimeout = config .getHandshakeTimeout ();
920
925
enabledProtocols = config .getEnabledProtocols ();
921
926
enabledCipherSuites = config .getEnabledCipherSuites ();
@@ -930,6 +935,10 @@ public Builder(AsyncHttpClientConfig config) {
930
935
responseFilters .addAll (config .getResponseFilters ());
931
936
ioExceptionFilters .addAll (config .getIoExceptionFilters ());
932
937
938
+ // cookie store
939
+ cookieStore = config .getCookieStore ();
940
+ expiredCookieEvictionDelay = config .expiredCookieEvictionDelay ();
941
+
933
942
// tuning
934
943
tcpNoDelay = config .isTcpNoDelay ();
935
944
soReuseAddress = config .isSoReuseAddress ();
@@ -943,6 +952,7 @@ public Builder(AsyncHttpClientConfig config) {
943
952
httpClientCodecMaxInitialLineLength = config .getHttpClientCodecMaxInitialLineLength ();
944
953
httpClientCodecMaxHeaderSize = config .getHttpClientCodecMaxHeaderSize ();
945
954
httpClientCodecMaxChunkSize = config .getHttpClientCodecMaxChunkSize ();
955
+ httpClientCodecInitialBufferSize = config .getHttpClientCodecInitialBufferSize ();
946
956
chunkedFileChunkSize = config .getChunkedFileChunkSize ();
947
957
channelOptions .putAll (config .getChannelOptions ());
948
958
eventLoopGroup = config .getEventLoopGroup ();
0 commit comments