Skip to content

Commit 67d6690

Browse files
authored
Upgrade Apache5 org.apache.httpcomponents.client5 to latest available version (#6214)
* Fix architecture test failures for apache5.x * Checkstyle issues * Update to use PoolingHttpClientConnectionManager class reference that is implementation of HttpClientConnectionManager * Fix stream reset failure in RepeatableInputStreamRequestEntity by storing content reference to avoid multiple ContentStreamProvider.newStream() calls that cause IOException when retrying requests with non-resettable streams * writeTo_ConcurrentWrites_HandlesCorrectly no longer needed since even Apache 4.x doesnot suports this * Fix connectionPoolingWorks by setting skipping setConnectionTimeToLive is value is set to 0 since 0 is treated as Infinite timeToLive in Sdk and Apache 4.x but treated as immediate closeConnection in apache 5.x * disableAutomaticRetries in Apache 5.x since SDK handles retries , also define Apache5 dependencies in .brazil.json * Added Test case for Async , handled review ocmments * Donot do buffer the response using BufferedHttpEntity since it might cause memory issue, this behaviour is same as Apache4.x * Fix compilation issues * Fix checkstyle issues * Remove test which are specific to apache http * Add benchmark for Apache5 and add Streaming Api test cases * Update Apache5 to 5.5
1 parent 45f630d commit 67d6690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http-clients/apache5-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>org.apache.httpcomponents.client5</groupId>
3838
<artifactId>httpclient5</artifactId>
39-
<version>5.4.4</version>
39+
<version>5.5</version>
4040
</dependency>
4141
<dependency>
4242
<groupId>org.apache.httpcomponents.core5</groupId>

0 commit comments

Comments
 (0)