You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2024/08/23 17:44:23 UTC
(httpcomponents-client) branch dependabot/maven/log4j.version-2.23.1 updated (da555ca84 -> 9594042a9)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch dependabot/maven/log4j.version-2.23.1
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git
from da555ca84 Bump log4j.version from 2.23.0 to 2.23.1
add 3b9bc89c2 HTTPCLIENT-2325 Avoid adding "; charset=" for multipart/form-data requests
add c33f8ab4a Add unit test for InMemoryDnsResolver
add 17142a7e7 Add missing Javadoc tag
add 5eb15a1be Callbacks for Connection initialization
add a0a38afbe Made handling of refused tunnel exception consistent between the classic and async protocol handler implementations; Proxy response body no longer gets buffered in memory in order to avoid excessive resource allocation in case of a proxy misbehavior
add 32e7f6cce Added Java 21 in the Maven build matrix; removed Java 8 (MacOS)
add 0f37ebdc7 HTTPCLIENT-2327: Propagate CancellationExceptions from MemcachedClient operations as ResourceIOExceptions (#559)
add 15b93d481 Javadoc
add ebd5d8734 Use the same spacing in log message as other entries
add def10b4c7 Javadoc correction
add 215571a0b HTTPCLIENT-2326: Propagate original proxy response to the caller in case of HTTP CONNECT request failure
add 225edf5ea Javadoc singleton versus default instances
add 4c42c70a5 Tokenizer is immutable and thread safe, so reuse it.
add 336263da6 Fix HTTPCLIENT-2331: Skip cookie header generation if a Cookie header is already present (#561)
add 034cd65aa Redesign of test server APIs and integration test setup
add 1cd7f8f2d Moved test cases that require an embedded test server to the integration test module
add 0b4b06d08 Moved test extension classes
add 0b4e653ed Upgraded HttpCore to version 5.3-beta1
add 10e8a7acb Replaced deprecated functionality
add ee0a10210 HTTPCLIENT-2328: Blocking i/o connections to check if the opposite TLS endpoint has been closed by the opposite endpoint while writing out request body
add c347cf997 Updated release notes for HttpClient 5.4-beta1 release
add a0bf57b83 Upgraded HttpClient version to 5.4-beta2-SNAPSHOT
add e45345876 Use CompletedFuture from core
add 185d4e32a Test classes and methods should have default package visibility
add 420910da4 Fix assertions
add cc13243cd Minor code cleanup
add 97247f0c8 Added example of manual connection release
add df5ab533a added LaxRedirectStrategy from 4.x
add a61f60b4b HTTPCLIENT-2333: update execution scope upon request redirect in order to avoid re-execution of the original request in case of an i/o error
add 4009567af Remove @Experimental from async cache classes
add d7ed56894 Improved FQDN matching
add 2dafdca16 Input streams returned by DecompressingEntity.getContent() should support mark(int) and reset() if the underlying stream does
add 71062ea16 Replace ternary with String.valueOf()
add d05f4c5c8 Replace ternary with Objects.toString()
add 75aabd7f6 Javadoc improvements
add bc9f902bc Javadoc improvements
add 66a355c99 Reimplement LoggingInputStream as a FilterInputStream
add 715ec1106 HTTPCLIENT-2336: Updated PublicSuffixMatcher to use 'formal algorithm' as specified https://github.com/publicsuffix/list/wiki/Format#formal-algorithm
add ec4da301b HTTPCLIENT-2336: Corrected hostname identity verification logic
add bc9d925c8 HTTPCLIENT-2335: Added #close method with CloseMode parameter to CloseableHttpResponse
add 01c478b7d DeflateInputStream extends FilterInputStream
add 883dbe3ce Javadoc improvements
add 044a71755 Fix file handle leak in TestPublicSuffixMatcher
add fc1bae559 Bump com.googlecode.maven-download-plugin:download-maven-plugin
add cb99e319d Bump org.junit:junit-bom from 5.10.2 to 5.11.0
add e731ffd16 Bump org.hamcrest:hamcrest from 2.2 to 3.0
add 9594042a9 Merge branch 'master' into dependabot/maven/log4j.version-2.23.1
No new revisions were added by this update.
Summary of changes:
.github/workflows/maven.yml | 17 +-
RELEASE_NOTES.txt | 53 +-
httpclient5-cache/pom.xml | 2 +-
.../client5/http/cache/HttpCacheEntryFactory.java | 3 +
.../http/impl/cache/BasicHttpCacheStorage.java | 3 +-
.../impl/cache/ByteArrayCacheEntrySerializer.java | 3 +
.../hc/client5/http/impl/cache/CacheConfig.java | 19 +-
.../impl/cache/CacheControlHeaderGenerator.java | 3 +
.../client5/http/impl/cache/CacheKeyGenerator.java | 3 +
.../impl/cache/CachingH2AsyncClientBuilder.java | 2 -
.../impl/cache/CachingHttpAsyncClientBuilder.java | 2 -
.../impl/cache/DefaultAsyncCacheRevalidator.java | 4 +-
.../http/impl/cache/HeapResourceFactory.java | 3 +
.../cache/HttpByteArrayCacheEntrySerializer.java | 2 +-
.../http/impl/cache/NoopCacheEntrySerializer.java | 3 +
.../client5/http/impl/cache/ResponseViaCache.java | 3 +
.../memcached/MemcachedHttpAsyncCacheStorage.java | 13 +-
.../cache/memcached/MemcachedHttpCacheStorage.java | 21 +-
...> MemcachedOperationCancellationException.java} | 8 +-
.../cache/memcached/SHA256KeyHashingScheme.java | 3 +
.../impl/schedule/ImmediateSchedulingStrategy.java | 3 +
.../hc/client5/http/cache/TestHttpCacheEntry.java | 44 +-
.../http/cache/TestHttpCacheEntryFactory.java | 30 +-
.../http/impl/cache/CacheControlGeneratorTest.java | 6 +-
.../http/impl/cache/CacheControlParserTest.java | 48 +-
.../http/impl/cache/ConsumableInputStream.java | 3 +-
.../http/impl/cache/SimpleHttpCacheStorage.java | 6 +-
.../TestAbstractSerializingAsyncCacheStorage.java | 26 +-
.../cache/TestAbstractSerializingCacheStorage.java | 26 +-
.../http/impl/cache/TestBasicHttpAsyncCache.java | 62 +--
.../http/impl/cache/TestBasicHttpCache.java | 62 +--
.../cache/TestByteArrayCacheEntrySerializer.java | 89 ++--
.../http/impl/cache/TestCacheKeyGenerator.java | 64 +--
.../http/impl/cache/TestCacheRevalidatorBase.java | 14 +-
.../client5/http/impl/cache/TestCacheSupport.java | 4 +-
.../http/impl/cache/TestCacheValidityPolicy.java | 58 +--
.../impl/cache/TestCacheableRequestPolicy.java | 14 +-
.../cache/TestCachedHttpResponseGenerator.java | 18 +-
.../TestCachedResponseSuitabilityChecker.java | 55 +--
.../http/impl/cache/TestCachingExecChain.java | 88 ++--
.../http/impl/cache/TestCombinedEntity.java | 4 +-
.../impl/cache/TestConditionalRequestBuilder.java | 44 +-
.../http/impl/cache/TestFileResourceFactory.java | 6 +-
.../TestHttpByteArrayCacheEntrySerializer.java | 34 +-
.../impl/cache/TestHttpCacheJiraNumber1147.java | 8 +-
.../http/impl/cache/TestInternalCacheStorage.java | 6 +-
.../impl/cache/TestProtocolAllowedBehavior.java | 6 +-
.../impl/cache/TestProtocolRecommendations.java | 138 +++---
.../http/impl/cache/TestProtocolRequirements.java | 270 +++++-----
.../http/impl/cache/TestRFC5861Compliance.java | 25 +-
.../impl/cache/TestResponseCacheConformance.java | 14 +-
.../http/impl/cache/TestResponseCachingPolicy.java | 170 +++----
.../http/impl/cache/TestViaCacheGenerator.java | 8 +-
.../memcached/TestPrefixKeyHashingScheme.java | 6 +-
.../cache/memcached/TestSHA256HashingScheme.java | 4 +-
...estExponentialBackingOffSchedulingStrategy.java | 6 +-
.../schedule/TestImmediateSchedulingStrategy.java | 6 +-
.../http/schedule/TestConcurrentCountMap.java | 4 +-
httpclient5-fluent/pom.xml | 2 +-
.../apache/hc/client5/http/fluent/Executor.java | 6 +
.../org/apache/hc/client5/http/fluent/Request.java | 8 +
.../apache/hc/client5/http/fluent/TestRequest.java | 8 +-
httpclient5-testing/pom.xml | 2 +-
.../AbstractHttpAsyncClientAuthenticationTest.java | 195 +++-----
.../async/AbstractHttpAsyncFundamentalsTest.java | 69 ++-
.../async/AbstractHttpAsyncRedirectsTest.java | 454 +++++++++--------
.../AbstractHttpReactiveFundamentalsTest.java | 77 ++-
.../testing/async/AbstractIntegrationTestBase.java | 88 +---
.../testing/async/HttpIntegrationTests.java | 138 +++---
.../testing/async/HttpMinimalIntegrationTests.java | 18 +-
.../testing/async/ReactiveIntegrationTests.java | 18 +-
.../async/ReactiveMinimalIntegrationTests.java | 18 +-
.../hc/client5/testing/async/TestH2Async.java | 19 +-
.../client5/testing/async/TestH2AsyncMinimal.java | 19 +-
.../client5/testing/async/TestH2AsyncRedirect.java | 22 +-
.../testing/async/TestH2ClientAuthentication.java | 65 +--
.../hc/client5/testing/async/TestH2Reactive.java | 19 +-
.../testing/async/TestH2ReactiveMinimal.java | 20 +-
.../hc/client5/testing/async/TestHttp1Async.java | 52 +-
.../testing/async/TestHttp1AsyncMinimal.java | 31 +-
.../testing/async/TestHttp1AsyncRedirects.java | 75 ++-
.../TestHttp1AsyncStatefulConnManagement.java | 49 +-
.../async/TestHttp1ClientAuthentication.java | 92 +---
.../client5/testing/async/TestHttp1Reactive.java | 43 +-
.../testing/async/TestHttp1ReactiveMinimal.java | 33 +-
.../testing/async/TestHttp1RequestReExecution.java | 38 +-
.../async/TestHttpAsyncMinimalTlsHandshake.java | 49 +-
.../testing/async/TestHttpAsyncProtocolPolicy.java | 39 +-
.../async/extension/TestAsyncResources.java | 235 ---------
.../extension/async/ClientProtocolLevel.java | 11 +-
.../async/H2OnlyMinimalTestClientBuilder.java | 82 +++
.../extension/async/H2OnlyTestClientBuilder.java | 136 +++++
.../extension/async/MinimalTestClientBuilder.java | 111 +++++
.../extension/async/ServerProtocolLevel.java | 11 +-
.../extension/async/StandardTestClientBuilder.java | 174 +++++++
.../testing/extension/async/TestAsyncClient.java | 121 +++++
.../extension/async/TestAsyncClientBuilder.java | 106 ++++
.../extension/async/TestAsyncResources.java | 128 +++++
.../testing/extension/async/TestAsyncServer.java | 101 ++++
.../extension/async/TestAsyncServerBootstrap.java | 133 +++++
.../extension/sync/ClientProtocolLevel.java | 11 +-
.../extension/sync/MinimalTestClientBuilder.java | 83 ++++
.../extension/sync/StandardTestClientBuilder.java | 172 +++++++
.../client5/testing/extension/sync/TestClient.java | 77 +++
.../testing/extension/sync/TestClientBuilder.java | 103 ++++
.../extension/sync/TestClientResources.java | 121 +++++
.../client5/testing/extension/sync/TestServer.java | 67 +++
.../extension/sync/TestServerBootstrap.java | 123 +++++
.../hc/client5/testing/fluent/TestFluent.java | 119 ++---
.../testing/sync/AbstractIntegrationTestBase.java | 81 +++
.../client5/testing/sync/HttpIntegrationTests.java | 34 +-
.../testing/sync/HttpMinimalIntegrationTests.java | 10 +-
.../testing/sync/TestBasicConnectionManager.java | 44 +-
.../testing/sync/TestClientAuthentication.java | 334 ++++++-------
.../testing/sync/TestClientRequestExecution.java | 101 ++--
.../testing/sync/TestConnectionManagement.java | 85 ++--
.../client5/testing/sync/TestConnectionReuse.java | 144 ++----
.../client5/testing/sync/TestContentCodings.java | 158 +++---
.../testing/sync/TestCookieVirtualHost.java | 182 +++----
.../testing/sync/TestDefaultClientTlsStrategy.java | 39 +-
.../sync}/TestFutureRequestExecutionService.java | 25 +-
.../sync}/TestHttpClientBuilderInterceptors.java | 55 +--
.../testing/sync/TestIdleConnectionEviction.java | 27 +-
.../testing/sync/TestMalformedServerResponse.java | 52 +-
.../sync/TestMinimalClientRequestExecution.java | 41 +-
.../hc/client5/testing/sync/TestRedirects.java | 548 ++++++++++++---------
.../testing/sync/TestStatefulConnManagement.java | 65 ++-
.../sync/extension/TestClientResources.java | 174 -------
httpclient5/pom.xml | 4 +-
.../client5/http/AbstractClientContextBuilder.java | 1 +
.../hc/client5/http/ConnectTimeoutException.java | 5 +
.../hc/client5/http/SystemDefaultDnsResolver.java | 3 +
.../client5/http/UnsupportedSchemeException.java | 2 +
.../IgnoreCompleteExceptionFutureCallback.java | 1 +
.../IgnoreCompleteExceptonFutureCallback.java | 1 +
.../apache/hc/client5/http/auth/NTCredentials.java | 2 +-
.../apache/hc/client5/http/classic/HttpClient.java | 4 +
.../hc/client5/http/config/ConnectionConfig.java | 12 +-
.../hc/client5/http/config/RequestConfig.java | 28 ++
.../apache/hc/client5/http/config/TlsConfig.java | 11 +
.../hc/client5/http/cookie/BasicCookieStore.java | 2 +-
.../http/cookie/CookieIdentityComparator.java | 2 +-
.../client5/http/cookie/CookiePathComparator.java | 3 +
.../http/cookie/CookiePriorityComparator.java | 3 +
.../apache/hc/client5/http/cookie/CookieStore.java | 2 +-
.../http/entity/BrotliInputStreamFactory.java | 3 +
.../hc/client5/http/entity/DeflateInputStream.java | 93 +---
.../http/entity/DeflateInputStreamFactory.java | 2 +-
.../hc/client5/http/entity/EntityBuilder.java | 20 +-
.../http/entity/GZIPInputStreamFactory.java | 2 +-
.../hc/client5/http/entity/InputStreamFactory.java | 2 +-
.../http/entity/LazyDecompressingInputStream.java | 50 +-
.../http/entity/mime/MultipartEntityBuilder.java | 14 +-
.../http/entity/mime/MultipartFormEntity.java | 3 +-
.../http/impl/DefaultAuthenticationStrategy.java | 3 +
.../impl/DefaultClientConnectionReuseStrategy.java | 3 +
.../impl/DefaultConnectionKeepAliveStrategy.java | 3 +
.../http/impl/DefaultHttpRequestRetryStrategy.java | 3 +
.../client5/http/impl/DefaultRedirectStrategy.java | 3 +
.../http/impl/DefaultSchemePortResolver.java | 3 +
.../client5/http/impl/DefaultUserTokenHandler.java | 3 +
.../hc/client5/http/impl/LaxRedirectStrategy.java | 95 ++++
.../apache/hc/client5/http/impl/MessageCopier.java | 1 +
.../hc/client5/http/impl/NoopUserTokenHandler.java | 3 +
.../apache/hc/client5/http/impl/Operations.java | 3 +
.../apache/hc/client5/http/impl/RequestCopier.java | 3 +
.../apache/hc/client5/http/impl/StateHolder.java | 1 +
.../client5/http/impl/TunnelRefusedException.java | 34 +-
.../impl/async/AbstractHttpAsyncClientBase.java | 5 +
.../client5/http/impl/async/AsyncConnectExec.java | 4 +-
.../http/impl/async/AsyncPushConsumerRegistry.java | 18 +-
.../client5/http/impl/async/AsyncRedirectExec.java | 35 +-
.../http/impl/async/CloseableHttpAsyncClient.java | 10 +
.../http/impl/async/H2AsyncClientBuilder.java | 114 ++++-
.../http/impl/async/HttpAsyncClientBuilder.java | 135 ++++-
.../client5/http/impl/async/HttpAsyncClients.java | 16 +
.../http/impl/async/LoggingExceptionCallback.java | 3 +
.../http/impl/async/LoggingIOSessionDecorator.java | 3 +
.../http/impl/auth/AuthChallengeParser.java | 3 +
.../hc/client5/http/impl/auth/BasicAuthCache.java | 3 +-
.../client5/http/impl/auth/BasicSchemeFactory.java | 2 +-
.../http/impl/auth/BearerSchemeFactory.java | 3 +
.../http/impl/auth/DigestSchemeFactory.java | 3 +-
.../client5/http/impl/auth/NTLMSchemeFactory.java | 2 +-
.../classic/AbstractHttpClientResponseHandler.java | 1 +
.../http/impl/classic/ClassicRequestCopier.java | 3 +
.../http/impl/classic/CloseableHttpResponse.java | 31 +-
.../hc/client5/http/impl/classic/ConnectExec.java | 32 +-
.../http/impl/classic/ContentCompressionExec.java | 9 +-
.../classic/FutureRequestExecutionService.java | 9 +-
.../http/impl/classic/HttpClientBuilder.java | 138 +++++-
.../hc/client5/http/impl/classic/ProxyClient.java | 8 +-
.../hc/client5/http/impl/classic/RedirectExec.java | 23 +-
.../http/impl/cookie/BasicDomainHandler.java | 4 +-
.../http/impl/cookie/BasicHttpOnlyHandler.java | 2 +-
.../http/impl/cookie/BasicMaxAgeHandler.java | 2 +-
.../client5/http/impl/cookie/BasicPathHandler.java | 2 +-
.../http/impl/cookie/BasicSecureHandler.java | 2 +-
.../client5/http/impl/cookie/IgnoreSpecSpec.java | 2 +-
.../http/impl/cookie/LaxExpiresHandler.java | 2 +-
.../client5/http/impl/cookie/LaxMaxAgeHandler.java | 2 +-
.../io/DefaultHttpClientConnectionOperator.java | 28 +-
.../impl/io/DefaultHttpResponseParserFactory.java | 3 +
.../io/DefaultManagedHttpClientConnection.java | 8 +
.../client5/http/impl/io/LoggingInputStream.java | 31 +-
.../client5/http/impl/io/LoggingSocketHolder.java | 7 +
.../io/ManagedHttpClientConnectionFactory.java | 3 +
.../io/PoolingHttpClientConnectionManager.java | 2 +-
.../PoolingHttpClientConnectionManagerBuilder.java | 93 +++-
.../nio/DefaultAsyncClientConnectionOperator.java | 23 +-
.../nio/PoolingAsyncClientConnectionManager.java | 2 +-
...PoolingAsyncClientConnectionManagerBuilder.java | 70 ++-
.../http/impl/routing/BasicRouteDirector.java | 2 +-
.../http/io/ManagedHttpClientConnection.java | 16 +
.../client5/http/protocol/HttpClientContext.java | 5 +-
.../client5/http/protocol/RedirectLocations.java | 5 +-
.../client5/http/protocol/RequestAddCookies.java | 14 +-
.../http/protocol/RequestDefaultHeaders.java | 2 +-
.../hc/client5/http/protocol/RequestIfRange.java | 2 +-
.../http/protocol/RequestValidateTrace.java | 2 +-
.../http/protocol/ResponseProcessCookies.java | 2 +-
.../client5/http/psl/PublicSuffixListParser.java | 2 +-
.../hc/client5/http/psl/PublicSuffixMatcher.java | 31 +-
.../hc/client5/http/routing/HttpRoutePlanner.java | 1 +
.../http/socket/PlainConnectionSocketFactory.java | 3 +
.../http/ssl/AbstractClientTlsStrategy.java | 14 +-
.../client5/http/ssl/ClientTlsStrategyBuilder.java | 31 +-
.../client5/http/ssl/DefaultHostnameVerifier.java | 40 +-
.../client5/http/ssl/DistinguishedNameParser.java | 9 +-
.../hc/client5/http/ssl/NoopHostnameVerifier.java | 3 +
.../ssl/SSLConnectionSocketFactoryBuilder.java | 22 +-
.../hc/client5/http/ssl/TrustAllStrategy.java | 3 +
.../client5/http/ssl/TrustSelfSignedStrategy.java | 3 +
.../hc/client5/http/utils/ByteArrayBuilder.java | 2 +-
.../client5/http/ConnectExceptionSupportTest.java | 18 +-
.../client5/http/SystemDefaultDnsResolverTest.java | 2 +-
.../org/apache/hc/client5/http/TestHttpRoute.java | 26 +-
.../async/methods/TestSimpleMessageBuilders.java | 14 +-
.../hc/client5/http/auth/TestAuthChallenge.java | 6 +-
.../apache/hc/client5/http/auth/TestAuthScope.java | 18 +-
.../hc/client5/http/auth/TestCredentials.java | 24 +-
.../http/classic/methods/TestHttpOptions.java | 4 +-
.../http/classic/methods/TestHttpRequestBase.java | 40 +-
.../http/classic/methods/TestHttpTrace.java | 4 +-
.../hc/client5/http/config/TestRequestConfig.java | 8 +-
.../hc/client5/http/cookie/TestCookieOrigin.java | 14 +-
.../http/cookie/TestCookiePathComparator.java | 14 +-
.../http/cookie/TestCookiePriorityComparator.java | 16 +-
.../apache/hc/client5/http/entity/TestBrotli.java | 4 +-
.../http/entity/TestDecompressingEntity.java | 25 +-
.../apache/hc/client5/http/entity/TestDeflate.java | 4 +-
.../hc/client5/http/entity/TestEntityBuilder.java | 20 +-
.../apache/hc/client5/http/entity/TestGZip.java | 10 +-
.../client5/http/entity/mime/FormBodyPartTest.java | 4 +-
.../http/entity/mime/HttpRFC7578MultipartTest.java | 4 +-
.../http/entity/mime/TestFormBodyPartBuilder.java | 8 +-
.../hc/client5/http/entity/mime/TestMimeField.java | 4 +-
.../http/entity/mime/TestMultipartContentBody.java | 6 +-
.../entity/mime/TestMultipartEntityBuilder.java | 59 ++-
.../http/entity/mime/TestMultipartForm.java | 20 +-
.../entity/mime/TestMultipartFormHttpEntity.java | 15 +-
.../http/entity/mime/TestMultipartFormat.java | 6 +-
.../http/entity/mime/TestMultipartMixed.java | 18 +-
.../http/entity/mime/TestMultipartPartBuilder.java | 8 +-
.../examples/AsyncClientFullDuplexExchange.java | 2 +-
.../examples/AsyncClientH2FullDuplexExchange.java | 2 +-
.../http/examples/AsyncClientH2ServerPush.java | 73 +--
.../examples/AsyncClientHttpExchangeStreaming.java | 8 +-
.../http/examples/AsyncClientInterceptors.java | 4 +-
...ntication.java => ClientConnectionRelease.java} | 30 +-
.../client5/http/examples/ClientInterceptors.java | 4 +-
.../hc/client5/http/impl/ExecSupportTest.java | 4 +-
.../InMemoryDnsResolverTest.java} | 28 +-
.../http/impl/PrefixedIncrementingIdTest.java | 4 +-
.../http/impl/TestAuthenticationStrategy.java | 10 +-
.../impl/TestDefaultConnKeepAliveStrategy.java | 12 +-
.../impl/TestDefaultHttpRequestRetryStrategy.java | 30 +-
.../http/impl/TestDefaultRedirectStrategy.java | 40 +-
.../http/impl/TestIdleConnectionEvictor.java | 6 +-
.../client5/http/impl/TestLaxRedirectStrategy.java | 84 ++++
.../http/impl/TestProtocolSwitchStrategy.java | 8 +-
.../hc/client5/http/impl/TestRequestSupport.java | 4 +-
.../http/impl/auth/TestAuthChallengeParser.java | 44 +-
.../client5/http/impl/auth/TestBasicAuthCache.java | 8 +-
.../hc/client5/http/impl/auth/TestBasicScheme.java | 24 +-
.../client5/http/impl/auth/TestBearerScheme.java | 8 +-
.../http/impl/auth/TestCredentialsProviders.java | 24 +-
.../client5/http/impl/auth/TestDigestScheme.java | 64 +--
.../http/impl/auth/TestHttpAuthenticator.java | 48 +-
.../client5/http/impl/auth/TestNTLMEngineImpl.java | 29 +-
.../hc/client5/http/impl/auth/TestNTLMScheme.java | 4 +-
.../auth/TestSystemDefaultCredentialsProvider.java | 6 +-
.../http/impl/classic/TestAIMDBackoffManager.java | 30 +-
.../TestAbstractHttpClientResponseHandler.java | 8 +-
.../impl/classic/TestBasicResponseHandler.java | 6 +-
.../http/impl/classic/TestCloseableHttpClient.java | 16 +-
.../client5/http/impl/classic/TestConnectExec.java | 28 +-
.../impl/classic/TestContentCompressionExec.java | 24 +-
.../impl/classic/TestCookieIdentityComparator.java | 12 +-
.../impl/classic/TestDefaultBackoffStrategy.java | 16 +-
.../classic/TestExponentialBackoffManager.java | 22 +-
.../impl/classic/TestHttpAsyncClientBuilder.java | 10 +-
.../http/impl/classic/TestHttpClientBuilder.java | 6 +-
.../impl/classic/TestHttpRequestRetryExec.java | 24 +-
.../http/impl/classic/TestInternalExecRuntime.java | 24 +-
.../http/impl/classic/TestInternalHttpClient.java | 18 +-
.../impl/classic/TestLinearBackoffManager.java | 20 +-
.../http/impl/classic/TestMainClientExec.java | 26 +-
.../http/impl/classic/TestNullBackoffStrategy.java | 8 +-
.../http/impl/classic/TestProtocolExec.java | 18 +-
.../http/impl/classic/TestRedirectExec.java | 32 +-
.../http/impl/classic/TestResponseEntityProxy.java | 10 +-
.../impl/classic/TestResponseEntityWrapper.java | 18 +-
.../http/impl/cookie/TestBasicClientCookie.java | 8 +-
.../impl/cookie/TestBasicCookieAttribHandlers.java | 66 +--
.../http/impl/cookie/TestBasicCookieStore.java | 8 +-
.../impl/cookie/TestLaxCookieAttribHandlers.java | 66 +--
.../impl/cookie/TestPublicSuffixListParser.java | 19 +-
.../http/impl/cookie/TestRFC6265CookieSpec.java | 36 +-
.../io/TestBasicHttpClientConnectionManager.java | 34 +-
.../impl/io/TestHttpClientConnectionOperator.java | 24 +-
.../io/TestPoolingHttpClientConnectionManager.java | 28 +-
.../impl/routing/TestDefaultProxyRoutePlanner.java | 8 +-
.../http/impl/routing/TestDefaultRoutePlanner.java | 16 +-
.../http/impl/routing/TestRouteDirector.java | 16 +-
.../http/impl/routing/TestRouteTracker.java | 18 +-
.../http/impl/routing/TestRoutingSupport.java | 8 +-
.../routing/TestSystemDefaultRoutePlanner.java | 10 +-
.../http/protocol/TestRedirectLocation.java | 4 +-
.../http/protocol/TestRequestAddCookies.java | 57 ++-
.../protocol/TestRequestClientConnControl.java | 14 +-
.../http/protocol/TestRequestDefaultHeaders.java | 8 +-
.../http/protocol/TestRequestExpectContinue.java | 14 +-
.../http/protocol/TestResponseProcessCookies.java | 16 +-
.../http/psl/TestPublicSuffixListParser.java | 23 +-
.../client5/http/psl/TestPublicSuffixMatcher.java | 193 ++++++--
.../client5/http/ssl/CertificatesToPlayWith.java | 2 +-
.../http/ssl/TestDefaultHostnameVerifier.java | 79 +--
.../http/ssl/TestDistinguishedNameParser.java | 26 +-
.../apache/hc/client5/http/utils/TestBase64.java | 2 +-
.../client5/http/utils/TestByteArrayBuilder.java | 18 +-
.../hc/client5/http/utils/TestDateUtils.java | 22 +-
.../apache/hc/client5/http/utils/TestDnsUtils.java | 4 +-
.../apache/hc/client5/http/utils/TestURIUtils.java | 16 +-
.../apache/hc/client5/http/validator/TestETag.java | 10 +-
.../src/test/resources/suffixlistmatcher.txt | 3 +-
pom.xml | 10 +-
347 files changed, 6939 insertions(+), 4748 deletions(-)
copy httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/memcached/{MemcachedOperationTimeoutException.java => MemcachedOperationCancellationException.java} (86%)
delete mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/extension/TestAsyncResources.java
copy httpclient5/src/main/java/org/apache/hc/client5/http/validator/ValidatorType.java => httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/ClientProtocolLevel.java (89%)
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/H2OnlyMinimalTestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/H2OnlyTestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/MinimalTestClientBuilder.java
copy httpclient5/src/main/java/org/apache/hc/client5/http/validator/ValidatorType.java => httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/ServerProtocolLevel.java (91%)
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/StandardTestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/TestAsyncClient.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/TestAsyncClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/TestAsyncResources.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/TestAsyncServer.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/async/TestAsyncServerBootstrap.java
copy httpclient5/src/main/java/org/apache/hc/client5/http/cookie/package-info.java => httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/ClientProtocolLevel.java (92%)
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/MinimalTestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/StandardTestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/TestClient.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/TestClientBuilder.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/TestClientResources.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/TestServer.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/extension/sync/TestServerBootstrap.java
create mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/AbstractIntegrationTestBase.java
rename {httpclient5/src/test/java/org/apache/hc/client5/http/impl/classic => httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync}/TestFutureRequestExecutionService.java (90%)
rename {httpclient5/src/test/java/org/apache/hc/client5/http/impl/classic => httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync}/TestHttpClientBuilderInterceptors.java (61%)
delete mode 100644 httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/extension/TestClientResources.java
create mode 100644 httpclient5/src/main/java/org/apache/hc/client5/http/impl/LaxRedirectStrategy.java
copy httpclient5/src/test/java/org/apache/hc/client5/http/examples/{ClientAuthentication.java => ClientConnectionRelease.java} (71%)
copy httpclient5/src/test/java/org/apache/hc/client5/http/{SystemDefaultDnsResolverTest.java => impl/InMemoryDnsResolverTest.java} (62%)
create mode 100644 httpclient5/src/test/java/org/apache/hc/client5/http/impl/TestLaxRedirectStrategy.java