Commit 67d6690
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.51 parent 45f630d commit 67d6690
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments