Commit Graph

3420 Commits

Author SHA1 Message Date
Oleg Kalnichevski 50e5899e3a Upgraded API compatibility level to 5.2 2023-03-13 15:42:47 +01:00
Alen Turkovic 4695041df4 Pass HttpContext to SSLConnectionSocketFactory#prepareSocket method (#404) 2023-03-13 15:42:38 +01:00
Damiano Albani 3403571c18 Fix minor typo in Javadoc 2023-03-13 15:42:38 +01:00
Oleg Kalnichevski 22e5a0be6b Upgraded HttpClient version to 5.2.2-SNAPSHOT 2022-12-07 14:09:11 +01:00
Oleg Kalnichevski 8ca97f1474 Updated release notes for HttpClient 5.2.1 release 2022-12-03 14:09:19 +01:00
dependabot[bot] bfd2bf1f7e Bump ehcache-api from 3.10.2 to 3.10.8
Bumps [ehcache-api](https://github.com/ehcache/ehcache3) from 3.10.2 to 3.10.8.
- [Release notes](https://github.com/ehcache/ehcache3/releases)
- [Commits](https://github.com/ehcache/ehcache3/compare/v3.10.2...v3.10.8)

---
updated-dependencies:
- dependency-name: org.ehcache.modules:ehcache-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-26 10:57:16 +01:00
dependabot[bot] 1e879a2783 Bump actions/dependency-review-action from 2 to 3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-26 10:56:23 +01:00
Oleg Kalnichevski cb80c3cc50 Disabled a test case that fails intermittently with GitHub Actions. 2022-11-26 10:54:05 +01:00
Oleg Kalnichevski 2f87e4a6b7 Regression: async execution runtimes set the negotiated protocol version in the execution context at the wrong point of request execution 2022-11-21 22:37:49 +01:00
Bryan Keller 9cde791f35 Cancel connection request on exception 2022-11-14 22:16:43 +01:00
Gary Gregory 290ec22022 Fix compiler warnings in tests
Use try-with-resources, also avoids possible leaks on test failures
2022-11-14 22:13:14 +01:00
Gary Gregory 230a2caf67 Replace deprecated use of LangUtils#equals() with Objects.equals() 2022-11-14 09:57:05 -05:00
Oleg Kalnichevski 0ca5635898 HTTPCLIENT-2247: Test cases to document present assumptions about the correct handling of public domain suffixes 2022-11-13 12:28:53 +01:00
Oleg Kalnichevski 32228cd4ff Regression: Multipart body builder and multipart formatters fail to escape special characters such as backslash and quote mark 2022-11-13 12:28:51 +01:00
Oleg Kalnichevski e52ff02f74 Upgraded HttpClient version to 5.2.1-SNAPSHOT 2022-11-13 12:28:46 +01:00
Oleg Kalnichevski 58a9438a23 Updated release notes for HttpClient 5.2 release 2022-11-06 22:54:45 +01:00
Oleg Kalnichevski e458cb93e0 Upgraded HttpCore to version 5.2 2022-11-06 16:27:15 +01:00
Oleg Kalnichevski 16b2cf467d HTTPCLIENT-2242: RoutingSupport fails to copy InetAddress when normalizing HttpHost 2022-11-06 11:18:15 +01:00
Oleg Kalnichevski fe1e095ef9 Regression: connection managers fail to take into account per route connection config when closing expired connections 2022-11-06 11:11:53 +01:00
Oleg Kalnichevski 233a5bdbb7 Use docker-compose to start compatibility test containers 2022-11-05 16:42:47 +01:00
Oleg Kalnichevski d76d27bed7 Bug fix: PoolingAsyncClientConnectionManager fails to update the execution context upon upgrade to HTTP/2 2022-11-05 16:42:47 +01:00
dependabot[bot] 0390f8d274 Bump ehcache-api from 3.10.1 to 3.10.2
Bumps [ehcache-api](https://github.com/ehcache/ehcache3) from 3.10.1 to 3.10.2.
- [Release notes](https://github.com/ehcache/ehcache3/releases)
- [Commits](https://github.com/ehcache/ehcache3/compare/v3.10.1...v3.10.2)

---
updated-dependencies:
- dependency-name: org.ehcache.modules:ehcache-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-05 11:26:14 +01:00
dependabot[bot] aab9b422db Bump mockito-core from 4.8.0 to 4.8.1
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-05 11:26:02 +01:00
Oleg Kalnichevski 86e081dd3b Upgraded HttpComponents Parent to version 13 2022-11-05 11:20:31 +01:00
Oleg Kalnichevski 7626230ffd Fixed integration tests broken by JUnit 5 upgrade 2022-11-05 11:16:05 +01:00
Oleg Kalnichevski ba45d80b07 HTTPCLIENT-2240: fixed incorrect CONNECT method initialization in ProxyClient 2022-10-23 20:01:46 +02:00
Oleg Kalnichevski 646ff6988e Corrected ClientExecuteProxy example 2022-10-23 20:01:46 +02:00
Oleg Kalnichevski 7ab435c271 HTTPCLIENT-2236: MultihomeIOSessionRequester fails to enhance the cause exception in case of connect failure if the remoteAddress argument has been given 2022-10-03 15:25:19 +02:00
Oleg Kalnichevski 07bed85ee5 Temporarily removed windows-latest from the Github CI OS matrix due to intermittent network failures (java.io.IOException: An established connection was aborted by the software in your host machine). It is unclear whether this is a bug in the library or in the Windows JRE. 2022-10-02 16:46:07 +02:00
dependabot[bot] fd86093db6 Bump download-maven-plugin from 1.6.0 to 1.6.8
Bumps [download-maven-plugin](https://github.com/maven-download-plugin/maven-download-plugin) from 1.6.0 to 1.6.8.
- [Release notes](https://github.com/maven-download-plugin/maven-download-plugin/releases)
- [Commits](https://github.com/maven-download-plugin/maven-download-plugin/compare/1.6.0...1.6.8)

---
updated-dependencies:
- dependency-name: com.googlecode.maven-download-plugin:download-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
Gary Gregory c6f83a579d Be more lenient on slower build machines 2022-10-02 16:46:07 +02:00
Gary Gregory 47750c4fbc Bump mockito-core from 4.0.0 to 4.8.0 #383 2022-10-02 16:46:07 +02:00
dependabot[bot] 87f8fb92a6 Bump mockito-core from 4.0.0 to 4.8.0
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.0.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.0.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
Gary Gregory ccda0f2af7 Register the standard GitHub page for a Code of Conduct with a link to
the Apache Code of Conduct
2022-10-02 16:46:07 +02:00
Gary Gregory bfa6a5ea72 Use Objects.toString() instead of String type cast 2022-10-02 16:46:07 +02:00
dependabot[bot] 9d297d737f Bump jna.version from 5.9.0 to 5.12.1
Bumps `jna.version` from 5.9.0 to 5.12.1.

Updates `jna` from 5.9.0 to 5.12.1
- [Release notes](https://github.com/java-native-access/jna/releases)
- [Changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md)
- [Commits](https://github.com/java-native-access/jna/compare/5.9.0...5.12.1)

Updates `jna-platform` from 5.9.0 to 5.12.1
- [Release notes](https://github.com/java-native-access/jna/releases)
- [Changelog](https://github.com/java-native-access/jna/blob/master/CHANGES.md)
- [Commits](https://github.com/java-native-access/jna/compare/5.9.0...5.12.1)

---
updated-dependencies:
- dependency-name: net.java.dev.jna:jna
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.java.dev.jna:jna-platform
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
dependabot[bot] 43de1a6d22 Bump ehcache-api from 3.9.6 to 3.10.1
Bumps [ehcache-api](https://github.com/ehcache/ehcache3) from 3.9.6 to 3.10.1.
- [Release notes](https://github.com/ehcache/ehcache3/releases)
- [Commits](https://github.com/ehcache/ehcache3/compare/v3.9.6...v3.10.1)

---
updated-dependencies:
- dependency-name: org.ehcache.modules:ehcache-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
dependabot[bot] 7f0263de8c Bump log4j.version from 2.17.2 to 2.19.0
Bumps `log4j.version` from 2.17.2 to 2.19.0.

Updates `log4j-slf4j-impl` from 2.17.2 to 2.19.0

Updates `log4j-core` from 2.17.2 to 2.19.0

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-slf4j-impl
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
dependabot[bot] 0bf362769a Bump junit-bom from 5.8.1 to 5.9.1
Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.8.1 to 5.9.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.1...r5.9.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-02 16:46:07 +02:00
Gary Gregory 46cf8917e3 Update Dependabot triggers for Maven 2022-10-02 16:46:07 +02:00
Gary Gregory 3295f28f47 Add GitHub Actions build and remove Travis-CI 2022-10-02 16:45:49 +02:00
Oleg Kalnichevski 9c0575494a HTTPCLIENT-2232: last protocol interceptrs moved at the end of the H2 protocol processing pipeline 2022-09-11 18:50:45 +02:00
Oleg Kalnichevski ed7701c509 H2 async runtime to proactively set HTTP/2 protocol version in the execution context 2022-09-11 18:47:31 +02:00
Oleg Kalnichevski 3fe6a8bcdf HTTPCLIENT-2231: a race condition in the main async exec when the request execution on an I/O thread is faster then execution pipeline management on the client thread 2022-08-19 14:04:25 +02:00
Arturo Bernal 18fa09f6a2 Avoid duplicate redundant objects and use Singleton instead. 2022-07-08 19:11:10 +02:00
Gary Gregory dca9108352 Use try-with-resources 2022-07-06 10:56:04 -04:00
Gary Gregory 1cd12fc1dc Cleaning up:
- Super interface already implements FutureCallback
- No need to override methods to only call super
- Add missing Javadoc tag
- Access static field directly
2022-07-06 10:13:23 -04:00
Tero Saarni fefbf0b756 Bumping versions of slf4j and log4j.
Removes CVE-2021-44832.
2022-07-01 10:54:17 +02:00
jkmcl 69e2ed6c41 Remove unused local variable 2022-07-01 10:50:03 +02:00
jkmcl 8d9b52abd1 Remove redundant if 2022-07-01 10:50:03 +02:00