httpcomponents-core.git
4 days agoRemoved racy assert in #testPrematureResponse master
Oleg Kalnichevski [Sat, 1 Oct 2022 16:23:22 +0000 (18:23 +0200)] 
Removed racy assert in #testPrematureResponse

4 days agoTemporarily removed windows-latest from the Github CI OS matrix due to intermittent...
Oleg Kalnichevski [Sat, 1 Oct 2022 15:27:47 +0000 (17:27 +0200)] 
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.

4 days agoBe more lenient on slower build machines like CI agents
Gary Gregory [Wed, 28 Sep 2022 14:40:51 +0000 (10:40 -0400)] 
Be more lenient on slower build machines like CI agents

4 days agoReplace Travis-CI badge with GitHub Actions badge
Gary Gregory [Wed, 28 Sep 2022 18:49:27 +0000 (14:49 -0400)] 
Replace Travis-CI badge with GitHub Actions badge

4 days agoReplace TravisCI with GitHub Actions build
Gary Gregory [Wed, 28 Sep 2022 12:34:08 +0000 (08:34 -0400)] 
Replace TravisCI with GitHub Actions build

5 days agoUpdate release notes w dependency bumps
Gary Gregory [Wed, 28 Sep 2022 17:42:40 +0000 (13:42 -0400)] 
Update release notes w dependency bumps

5 days agoBump commons-cli from 1.4 to 1.5.0 (#365)
dependabot[bot] [Wed, 28 Sep 2022 17:41:27 +0000 (13:41 -0400)] 
Bump commons-cli from 1.4 to 1.5.0 (#365)

Bumps commons-cli from 1.4 to 1.5.0.

---
updated-dependencies:
- dependency-name: commons-cli:commons-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 days agoBump mockito-core from 4.7.0 to 4.8.0 (#366)
dependabot[bot] [Wed, 28 Sep 2022 16:55:01 +0000 (12:55 -0400)] 
Bump mockito-core from 4.7.0 to 4.8.0 (#366)

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.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>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 days agoBump rxjava from 3.1.3 to 3.1.5 (#362)
dependabot[bot] [Wed, 28 Sep 2022 16:51:01 +0000 (12:51 -0400)] 
Bump rxjava from 3.1.3 to 3.1.5 (#362)

Bumps [rxjava](https://github.com/ReactiveX/RxJava) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/ReactiveX/RxJava/releases)
- [Commits](https://github.com/ReactiveX/RxJava/compare/v3.1.3...v3.1.5)

---
updated-dependencies:
- dependency-name: io.reactivex.rxjava3:rxjava
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 days agoBump reactive-streams from 1.0.3 to 1.0.4 (#364)
dependabot[bot] [Wed, 28 Sep 2022 14:41:19 +0000 (10:41 -0400)] 
Bump reactive-streams from 1.0.3 to 1.0.4 (#364)

Bumps [reactive-streams](https://github.com/reactive-streams/reactive-streams) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/reactive-streams/reactive-streams/releases)
- [Changelog](https://github.com/reactive-streams/reactive-streams-jvm/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/reactive-streams/reactive-streams/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: org.reactivestreams:reactive-streams
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 days agoBump junit.version from 5.9.0 to 5.9.1 (#363)
dependabot[bot] [Wed, 28 Sep 2022 14:38:15 +0000 (10:38 -0400)] 
Bump junit.version from 5.9.0 to 5.9.1 (#363)

Bumps `junit.version` from 5.9.0 to 5.9.1.

Updates `junit-bom` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

Updates `junit-jupiter-migrationsupport` from 5.9.0 to 5.9.1
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.0...r5.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 days agoAdd and use TLS accessor methods to use lambdas from httpclient5 later
Gary Gregory [Tue, 27 Sep 2022 15:04:17 +0000 (11:04 -0400)] 
Add and use TLS accessor methods to use lambdas from httpclient5 later

9 days agoAdd SECURITY.md
Gary Gregory [Tue, 27 Sep 2022 14:24:24 +0000 (10:24 -0400)] 
Add SECURITY.md

9 days agoRegister the standard GitHub page for a Code of Conduct with a link to
Gary Gregory [Tue, 27 Sep 2022 14:08:39 +0000 (10:08 -0400)] 
Register the standard GitHub page for a Code of Conduct with a link to
the Apache Code of Conduct

2 weeks agoJavadoc
Gary Gregory [Tue, 20 Sep 2022 13:40:13 +0000 (09:40 -0400)] 
Javadoc

Similar to java.util.function.Supplier.

3 weeks agoFixed deprecation and varargs warnings
Oleg Kalnichevski [Wed, 14 Sep 2022 14:05:41 +0000 (16:05 +0200)] 
Fixed deprecation and varargs warnings

6 weeks agoBump build and test dependencies
Gary Gregory [Thu, 25 Aug 2022 12:43:27 +0000 (08:43 -0400)] 
Bump build and test dependencies

- Bump JUnit from 5.8.2 to 5.9.0
- Bump Mockito from 4.4.0 to 4.7.0
- Bump JApiCmp from 0.15.4 to 0.15.7

6 weeks agoDeprecate org.apache.hc.core5.util.LangUtils.equals(Object, Object) in
Gary Gregory [Thu, 25 Aug 2022 12:35:54 +0000 (08:35 -0400)] 
Deprecate org.apache.hc.core5.util.LangUtils.equals(Object, Object) in
favor or java.util.Objects.equals(Object, Object).

6 weeks agoDeprecate org.apache.hc.core5.util.LangUtils.equals(Object[], Object[])
Gary Gregory [Thu, 25 Aug 2022 12:23:19 +0000 (08:23 -0400)] 
Deprecate org.apache.hc.core5.util.LangUtils.equals(Object[], Object[])
in favor or java.util.Arrays.equals(Object[], Object[]).

2 months agoAvoid duplicate redundant objects and use Singleton instead.
Arturo Bernal [Sat, 9 Jul 2022 19:28:19 +0000 (21:28 +0200)] 
Avoid duplicate redundant objects and use Singleton instead.

2 months agoAdded `#close` method that takes an optional Timeout as a parameter.
Arturo Bernal [Fri, 8 Jul 2022 21:41:25 +0000 (23:41 +0200)] 
Added `#close` method that takes an optional Timeout as a parameter.

3 months agoRemove extra semicolons
Gary Gregory [Wed, 6 Jul 2022 14:34:19 +0000 (10:34 -0400)] 
Remove extra semicolons

3 months agoURI Builder performance optimization (#355)
jkmcl [Sat, 2 Jul 2022 08:38:35 +0000 (16:38 +0800)] 
URI Builder performance optimization (#355)

3 months agoMinor cleanup (#354)
jkmcl [Fri, 1 Jul 2022 08:53:02 +0000 (16:53 +0800)] 
Minor cleanup (#354)

3 months agoBumping versions of slf4j and log4j.
Tero Saarni [Wed, 29 Jun 2022 10:56:25 +0000 (13:56 +0300)] 
Bumping versions of slf4j and log4j.

3 months agoUpdate Dockerfile
Megan Howell [Sat, 25 Jun 2022 18:25:35 +0000 (11:25 -0700)] 
Update Dockerfile

Update nginx

3 months agoBump log4j-core from 2.17.0 to 2.17.1
dependabot[bot] [Wed, 8 Jun 2022 17:18:30 +0000 (17:18 +0000)] 
Bump log4j-core from 2.17.0 to 2.17.1

Bumps log4j-core from 2.17.0 to 2.17.1.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
3 months ago(test) Add test for BasicFuture.failed and ComplexFuture.failed (#349)
Caro [Wed, 8 Jun 2022 17:15:24 +0000 (19:15 +0200)] 
(test) Add test for BasicFuture.failed and ComplexFuture.failed (#349)

4 months agoUpgraded HttpCore version to 5.2-beta3-SNAPSHOT
Oleg Kalnichevski [Fri, 3 Jun 2022 09:20:14 +0000 (11:20 +0200)] 
Upgraded HttpCore version to 5.2-beta3-SNAPSHOT

4 months agoUpdated release notes for HttpCore 5.2-beta2 release
Oleg Kalnichevski [Thu, 26 May 2022 08:35:31 +0000 (10:35 +0200)] 
Updated release notes for HttpCore 5.2-beta2 release

4 months agoRelaxed exception check in order to avoid TLS version mismatch test failure on FreeBSD
Oleg Kalnichevski [Thu, 19 May 2022 05:44:21 +0000 (07:44 +0200)] 
Relaxed exception check in order to avoid TLS version mismatch test failure on FreeBSD

5 months agoHTTPCORE-713: Optimize InetAddressUtils#isIPv6*Address
David Schlosnagle [Tue, 3 May 2022 21:52:37 +0000 (17:52 -0400)] 
HTTPCORE-713: Optimize InetAddressUtils#isIPv6*Address

Check input colon count before performing IPv6 regex validation

6 months agoHTTPCORE-710: In case of some TLS handshake failures (protocol version mismatch)...
Oleg Kalnichevski [Fri, 1 Apr 2022 15:08:01 +0000 (17:08 +0200)] 
HTTPCORE-710: In case of some TLS handshake failures (protocol version mismatch) the local TLS engine quietly closes the stream instead of throwing a handshake exception

6 months agoUpgraded Mockito to version 4.4.0
Oleg Kalnichevski [Sat, 2 Apr 2022 13:01:32 +0000 (15:01 +0200)] 
Upgraded Mockito to version 4.4.0

6 months agoCorrected TLS upgrade support in HttpAsyncRequester
Oleg Kalnichevski [Sat, 2 Apr 2022 12:57:02 +0000 (14:57 +0200)] 
Corrected TLS upgrade support in HttpAsyncRequester

6 months agoBug fix: non-blocking TLS sessions fail to update their event interest mask upon...
Oleg Kalnichevski [Sat, 2 Apr 2022 11:44:34 +0000 (13:44 +0200)] 
Bug fix: non-blocking TLS sessions fail to update their event interest mask upon TLS handshake initiation

6 months agoReplaced @EnableRuleMigrationSupport with a more specific ExternalResourceSupport...
Oleg Kalnichevski [Thu, 31 Mar 2022 15:18:55 +0000 (17:18 +0200)] 
Replaced @EnableRuleMigrationSupport with a more specific ExternalResourceSupport due to @EnableRuleMigrationSupport breaking exception handling in many test cases

6 months agoUpgrade to RxJava3
Ryan Schmitt [Mon, 21 Mar 2022 20:32:16 +0000 (13:32 -0700)] 
Upgrade to RxJava3

Since the `ReactiveTestUtils` API references symbols from RxJava2, I've
left it untouched for now so that japicmp doesn't yell at me.

6 months agoUpgraded HttpCore version to 5.2-beta2-SNAPSHOT
Oleg Kalnichevski [Thu, 17 Mar 2022 08:10:22 +0000 (09:10 +0100)] 
Upgraded HttpCore version to 5.2-beta2-SNAPSHOT

6 months agoUpdated NOTICE
Oleg Kalnichevski [Sun, 13 Mar 2022 10:02:31 +0000 (11:02 +0100)] 
Updated NOTICE

6 months agoUpdated release notes for HttpCore 5.2-beta1 release
Oleg Kalnichevski [Sat, 12 Mar 2022 12:01:15 +0000 (13:01 +0100)] 
Updated release notes for HttpCore 5.2-beta1 release

6 months agoHTTPCORE-708: H2 stream multiplexer incorrectly handles multiple frame fragments...
Oleg Kalnichevski [Thu, 10 Mar 2022 19:49:08 +0000 (20:49 +0100)] 
HTTPCORE-708: H2 stream multiplexer incorrectly handles multiple frame fragments in a single input chunk

7 months agoHTTPCLIENT-2201: protocol exception thrown while consuming pushed headers can leave...
Oleg Kalnichevski [Wed, 9 Feb 2022 18:46:42 +0000 (19:46 +0100)] 
HTTPCLIENT-2201: protocol exception thrown while consuming pushed headers can leave the pushed stream on the client side in an inconsistent state

7 months agoTest coverage
Arturo Bernal [Sun, 5 Dec 2021 20:30:58 +0000 (21:30 +0100)] 
Test coverage

7 months agoProtocol negotiators now keep track the negotiated HTTP protocol version and can...
Oleg Kalnichevski [Thu, 27 Jan 2022 17:37:51 +0000 (18:37 +0100)] 
Protocol negotiators now keep track the negotiated HTTP protocol version and can report it to the application layer; improved HTTP protocol negotiation

8 months agoAdd empty constructor with the default SSL context based on system properties.
Arturo Bernal [Tue, 11 Jan 2022 07:18:46 +0000 (08:18 +0100)] 
Add empty constructor with the default SSL context based on system properties.

8 months agoRemove conditions that always is 'true'.
Arturo Bernal [Sat, 8 Jan 2022 21:29:32 +0000 (22:29 +0100)] 
Remove conditions that always is 'true'.

9 months agoHTTPCORE-707: H2 connections incorrectly enforce the frame size max limit based on...
Oleg Kalnichevski [Fri, 31 Dec 2021 14:00:42 +0000 (15:00 +0100)] 
HTTPCORE-707: H2 connections incorrectly enforce the frame size max limit based on local settings instead of remote ones

9 months agoImplement clone to BasicHeader.
Arturo Bernal [Tue, 28 Dec 2021 11:41:09 +0000 (12:41 +0100)] 
Implement clone to BasicHeader.

9 months agoHTTPCORE-705: ConnectionReuseStrategy to use protocol version of the response message...
Oleg Kalnichevski [Fri, 17 Dec 2021 11:24:06 +0000 (12:24 +0100)] 
HTTPCORE-705: ConnectionReuseStrategy to use protocol version of the response message by default and that of the execution context as a fallback

9 months agoUse subclass of ConnectionClosedException to signal request execution failures due...
Oleg Kalnichevski [Fri, 17 Dec 2021 11:11:15 +0000 (12:11 +0100)] 
Use subclass of ConnectionClosedException to signal request execution failures due to the connection being closed. Requests failed with this exception should generally be safe to re-execute

9 months agoBump version log4j to 2.17.0
Arturo Bernal [Wed, 15 Dec 2021 14:40:31 +0000 (15:40 +0100)] 
Bump version log4j to 2.17.0

9 months agoCheck if a given protocol is considered secure and is enabled by default.
Arturo Bernal [Wed, 8 Dec 2021 20:34:38 +0000 (21:34 +0100)] 
Check if a given protocol is considered secure and is enabled by default.

9 months agoHTTPCORE-704: HPackDecoder fails to correctly encode / decode an empty header if...
Oleg Kalnichevski [Tue, 7 Dec 2021 14:38:38 +0000 (15:38 +0100)] 
HTTPCORE-704: HPackDecoder fails to correctly encode / decode an empty header if a non-ASCII charset is being used

10 months agoRefactor HTTP1 Configuration:
Arturo Bernal [Mon, 29 Nov 2021 22:00:21 +0000 (23:00 +0100)] 
Refactor HTTP1 Configuration:

* Make WindowSize configurable.
* Check positive value for WindowSize.
* Use constant build();

fix formatting.

10 months agoHTTPCORE-698 - Migrate Test to Unit 5.
Arturo Bernal [Tue, 16 Nov 2021 19:18:20 +0000 (20:18 +0100)] 
HTTPCORE-698 - Migrate Test to Unit 5.

10 months agoDeprecated ambiguous HttpHost constructor.
Oleg Kalnichevski [Sat, 20 Nov 2021 13:18:12 +0000 (14:18 +0100)] 
Deprecated ambiguous HttpHost constructor.

10 months agoUse cameCase in isSoKeepAlive method.
Arturo Bernal [Thu, 11 Nov 2021 08:57:48 +0000 (09:57 +0100)] 
Use cameCase in isSoKeepAlive method.

10 months agoHTTPCORE-697 - Replaced SimpleDateFormat with Java 8 Time APIs.
Arturo Bernal [Tue, 9 Nov 2021 19:03:33 +0000 (20:03 +0100)] 
HTTPCORE-697 - Replaced SimpleDateFormat with Java 8 Time APIs.

10 months agoH2 stream resource release optimization
Oleg Kalnichevski [Wed, 10 Nov 2021 11:01:58 +0000 (12:01 +0100)] 
H2 stream resource release optimization

10 months agoHTTPCORE-696: H2 protocol handler to ensure minimal processing of incoming frames...
Oleg Kalnichevski [Wed, 10 Nov 2021 10:22:54 +0000 (11:22 +0100)] 
HTTPCORE-696: H2 protocol handler to ensure minimal processing of incoming frames during a graceful shutdown.

10 months agoFixed #format in Deadline; improved #hashCode; replaced SimpleDatteFormat with Java...
Oleg Kalnichevski [Wed, 10 Nov 2021 14:01:52 +0000 (15:01 +0100)] 
Fixed #format in Deadline; improved #hashCode; replaced SimpleDatteFormat with Java 8 Time APIs

10 months agoAnnotate functional interfaces
Oleg Kalnichevski [Sun, 7 Nov 2021 20:42:49 +0000 (21:42 +0100)] 
Annotate functional interfaces

10 months agoCreate singleton INSTANCE to RequestConnControl, RequestContent, RequestData, Request...
Arturo Bernal [Sun, 7 Nov 2021 18:13:28 +0000 (19:13 +0100)] 
Create singleton INSTANCE to RequestConnControl, RequestContent, RequestData, RequestTargetHost and RequestUserAgent.

11 months agoAdd @OverRide.
Arturo Bernal [Sat, 6 Nov 2021 07:41:31 +0000 (08:41 +0100)] 
Add @OverRide.

11 months agoUse {@code } instead <code>.
Arturo Bernal [Sat, 6 Nov 2021 07:09:37 +0000 (08:09 +0100)] 
Use {@code } instead <code>.

11 months agoUse project modules dependency management.
Arturo Bernal [Fri, 5 Nov 2021 18:40:43 +0000 (19:40 +0100)] 
Use project modules dependency management.

11 months agoHTTPCORE-694: Fixed decrypted data check by non-blocking SSL i/o sessions (#317)
JasonMathison [Thu, 4 Nov 2021 15:44:14 +0000 (11:44 -0400)] 
HTTPCORE-694: Fixed decrypted data check by non-blocking SSL i/o sessions  (#317)

11 months agoHTTPCORE-692 add new rules for H2 header check as rfc7540 section 8.1.2.2 and 8.1...
风起 [Wed, 3 Nov 2021 03:13:24 +0000 (11:13 +0800)] 
HTTPCORE-692 add new rules for H2 header check as rfc7540 section 8.1.2.2 and 8.1.2.3 defined

11 months agoFix error var name javadoc.
Arturo Bernal [Tue, 2 Nov 2021 20:10:57 +0000 (21:10 +0100)] 
Fix error var name javadoc.

11 months agoUtility method to convert strings to their lower case representation
Oleg Kalnichevski [Sun, 31 Oct 2021 18:12:12 +0000 (19:12 +0100)] 
Utility method to convert strings to their lower case representation

11 months agoHTTPCORE-691 - Implement HttpService and HttpRequestExecutor builders creations.
Arturo Bernal [Sun, 31 Oct 2021 07:51:15 +0000 (08:51 +0100)] 
HTTPCORE-691 - Implement HttpService and HttpRequestExecutor builders creations.

11 months agoUse INIT_CONCURRENT_STREAM constant as init value.
Arturo Bernal [Sat, 30 Oct 2021 18:33:47 +0000 (20:33 +0200)] 
Use INIT_CONCURRENT_STREAM constant as init value.

11 months agoUse Args for argument check.
Arturo Bernal [Mon, 25 Oct 2021 16:04:59 +0000 (18:04 +0200)] 
Use Args for argument check.

11 months agoSet a URIBuilder authority with with a URIAuthority or NamedEndpoint. (#308)
Gary Gregory [Fri, 22 Oct 2021 11:57:37 +0000 (07:57 -0400)] 
Set a URIBuilder authority with with a URIAuthority or NamedEndpoint. (#308)

Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>
11 months agoUpgraded HttpCore version to 5.2-alpha3-SNAPSHOT
Oleg Kalnichevski [Wed, 20 Oct 2021 09:11:14 +0000 (11:11 +0200)] 
Upgraded HttpCore version to 5.2-alpha3-SNAPSHOT

11 months agoUpdated release notes for HttpCore 5.2-alpha2 release
Oleg Kalnichevski [Sat, 16 Oct 2021 14:27:16 +0000 (16:27 +0200)] 
Updated release notes for HttpCore 5.2-alpha2 release

11 months agoRefactor duplicate patterns with new methods in ContentType: (#306)
Gary Gregory [Sat, 16 Oct 2021 14:36:43 +0000 (10:36 -0400)] 
Refactor duplicate patterns with new methods in ContentType: (#306)

getCharset(ContentType, Charset) and getCharset(Charset).

Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>
11 months agoChange manual calculation in favor of java native Mat.min and Mat.max. The method...
Arturo Bernal [Sat, 16 Oct 2021 06:37:23 +0000 (08:37 +0200)] 
Change manual calculation in favor of java native Mat.min and Mat.max. The method its IntrinsicCandidate.

11 months agoFix typos and better names.
Arturo Bernal [Sat, 16 Oct 2021 07:21:21 +0000 (09:21 +0200)] 
Fix typos and better names.

11 months agoAdd PathEntityProducer, an NIO entity provider. (#302)
Gary Gregory [Wed, 13 Oct 2021 16:07:57 +0000 (12:07 -0400)] 
Add PathEntityProducer, an NIO entity provider. (#302)

This is in contrast to the "classic" IO based FileEntityProducer.

Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>
11 months agoBug fix: TLS handshake completion status not updated
Oleg Kalnichevski [Wed, 13 Oct 2021 08:14:59 +0000 (10:14 +0200)] 
Bug fix: TLS handshake completion status not updated

11 months agoUpdate Travis builds to LTS versions.
Gary Gregory [Mon, 11 Oct 2021 18:33:16 +0000 (14:33 -0400)] 
Update Travis builds to LTS versions.

Run arm64 with openjdk11 because Travis is broken with openjdk8 on arm64
(JRE only).

11 months agoUpdate some dependencies.
Gary Gregory [Mon, 11 Oct 2021 16:03:01 +0000 (12:03 -0400)] 
Update some dependencies.

- junit:junit ........................................... 4.13 -> 4.13.2
- org.apache.logging.log4j:log4j-core .................. 2.8.2 -> 2.14.1
- org.apache.logging.log4j:log4j-slf4j-impl ............ 2.8.2 -> 2.14.1
- org.conscrypt:conscrypt-openjdk-uber .................. 2.2.1 -> 2.5.2
- org.mockito:mockito-core ............................. 3.10.0 -> 4.0.0
- io.reactivex.rxjava2:rxjava .......................... 2.2.8 -> 2.2.21

11 months agoDon't initialize AtomicReference to its default value.
Gary Gregory [Mon, 11 Oct 2021 15:40:39 +0000 (11:40 -0400)] 
Don't initialize AtomicReference to its default value.

11 months agoUse compact array initialization syntax.
Gary Gregory [Mon, 11 Oct 2021 14:40:16 +0000 (10:40 -0400)] 
Use compact array initialization syntax.

11 months agoAdd SSLContextBuilder NIO Path versions of IO File APIs and re-implement internals...
Gary Gregory [Sun, 10 Oct 2021 18:36:05 +0000 (14:36 -0400)] 
Add SSLContextBuilder NIO Path versions of IO File APIs and re-implement internals with NIO. (#301)

* Add SSLContextBuilder NIO Path versions of IO File APIs and re-implement
internals with NIO.

Using NIO, we no longer create FileInputStream instances which required
finalization from the JVM.

* Clean ups.

- Remove redundant calls to super().
- Reduce duplication.
- Camel-case parameter names.
- Use {} notation.

* Update JApiCmp 0.15.3 -> 0.15.4 and use a property to tack its
version.

Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>
11 months agoAllow setting parameters to null arrays and lists to behave like empty (#300)
Gary Gregory [Sat, 9 Oct 2021 12:56:20 +0000 (08:56 -0400)] 
Allow setting parameters to null arrays and lists to behave like empty (#300)

arrays and lists instead of throwing exceptions.

Co-authored-by: Gary Gregory <ggregory@rocketsoftware.com>
11 months agoRound-out Javadoc for URIBuilder.
Gary Gregory [Tue, 5 Oct 2021 16:51:42 +0000 (12:51 -0400)] 
Round-out Javadoc for URIBuilder.

12 months agoAdded public getter for PoolEntry#created attribute
Oleg Kalnichevski [Wed, 29 Sep 2021 07:27:20 +0000 (09:27 +0200)] 
Added public getter for PoolEntry#created attribute

12 months agoMore efficient implementation of #appendPathSegments in URIBuilder
Oleg Kalnichevski [Sat, 11 Sep 2021 15:08:16 +0000 (17:08 +0200)] 
More efficient implementation of #appendPathSegments in URIBuilder

12 months agoBug fix: TLS handshake result callback does not get called in case of a timeout
Oleg Kalnichevski [Sat, 18 Sep 2021 15:51:58 +0000 (17:51 +0200)] 
Bug fix: TLS handshake result callback does not get called in case of a timeout

12 months agoHTTPCLIENT-2174: URUBuilder to return a new empty list instead of unmodifiable Collec...
Oleg Kalnichevski [Sat, 11 Sep 2021 11:52:38 +0000 (13:52 +0200)] 
HTTPCLIENT-2174: URUBuilder to return a new empty list instead of unmodifiable Collections#emptyList

12 months agoUpgraded HttpCore version to 5.2-alpha2-SNAPSHOT
Oleg Kalnichevski [Thu, 9 Sep 2021 09:41:39 +0000 (11:41 +0200)] 
Upgraded HttpCore version to 5.2-alpha2-SNAPSHOT

13 months agoHTTPCORE-684: async SSL i/o session fails to propagate end-of-stream events to the...
Oleg Kalnichevski [Sat, 4 Sep 2021 08:49:39 +0000 (10:49 +0200)] 
HTTPCORE-684: async SSL i/o session fails to propagate end-of-stream events to the protocol handler. This can cause a failure in handling of identity transfer encoded HTTP/1.1 response messages

13 months agoBug fix: async HTTP/1.1 server side protocol handler fails to correctly terminate...
Oleg Kalnichevski [Fri, 3 Sep 2021 11:35:57 +0000 (13:35 +0200)] 
Bug fix: async HTTP/1.1 server side protocol handler fails to correctly terminate message exchanges with identity transfer encoded responses

13 months agoHTTPCORE-683: fixed incorrect recovery from hostname resolution failures by the I...
Oleg Kalnichevski [Sat, 28 Aug 2021 08:25:04 +0000 (10:25 +0200)] 
HTTPCORE-683: fixed incorrect recovery from hostname resolution failures by the I/O session pool

13 months agoUpdated release notes for HttpCore 5.2-alpha1 release
Oleg Kalnichevski [Sun, 29 Aug 2021 13:03:46 +0000 (15:03 +0200)] 
Updated release notes for HttpCore 5.2-alpha1 release

13 months agoImprove Travis CI build Performance
Chen Zhang [Mon, 16 Aug 2021 12:43:11 +0000 (20:43 +0800)] 
Improve Travis CI build Performance

14 months agoHTTPCORE-682: Custom provider for key manager/trust manager initialization (#296)
Pawel Veselov [Wed, 7 Jul 2021 15:27:49 +0000 (17:27 +0200)] 
HTTPCORE-682: Custom provider for key manager/trust manager initialization (#296)