httpcomponents-client.git
8 months agoHttpClient 5.1.1 release 5.1.1-RC1 rel/v5.1.1
Oleg Kalnichevski [Fri, 22 Oct 2021 09:47:52 +0000 (11:47 +0200)] 
HttpClient 5.1.1 release

8 months agoUpdated release notes for HttpClient 5.1.1 release
Oleg Kalnichevski [Wed, 20 Oct 2021 13:50:57 +0000 (15:50 +0200)] 
Updated release notes for HttpClient 5.1.1 release

8 months agoDon't initialize AtomicReference to its default value.
Gary Gregory [Wed, 13 Oct 2021 19:57:23 +0000 (15:57 -0400)] 
Don't initialize AtomicReference to its default value.

8 months agoUpgraded HttpCore to version 5.1.2
Oleg Kalnichevski [Thu, 30 Sep 2021 15:28:47 +0000 (17:28 +0200)] 
Upgraded HttpCore to version 5.1.2

8 months agoAlways bind the exchange ID to the execution context
Oleg Kalnichevski [Mon, 27 Sep 2021 12:35:24 +0000 (14:35 +0200)] 
Always bind the exchange ID to the execution context

9 months agoCorrected resolution of the target host in DefaultUserTokenHandler
Oleg Kalnichevski [Sun, 26 Sep 2021 13:51:23 +0000 (15:51 +0200)] 
Corrected resolution of the target host in DefaultUserTokenHandler

9 months agoMore consistent handling of request scheme and authority by protocol interceptors
Oleg Kalnichevski [Fri, 24 Sep 2021 21:18:02 +0000 (23:18 +0200)] 
More consistent handling of request scheme and authority by protocol interceptors

9 months agoHTTPCLIENT-2177: automatically force HTTP/1.1 protocol policy when executing requests...
Oleg Kalnichevski [Fri, 17 Sep 2021 20:38:14 +0000 (22:38 +0200)] 
HTTPCLIENT-2177: automatically force HTTP/1.1 protocol policy when executing requests via a proxy tunnel

9 months agoHTTPCLIENT-2177: fixed incorrect route state tracking by the async connect executor...
Oleg Kalnichevski [Fri, 17 Sep 2021 14:28:18 +0000 (16:28 +0200)] 
HTTPCLIENT-2177: fixed incorrect route state tracking by the async connect executor when negotiating a tunnel via a proxy

9 months agoHTTPCLIENT-2177: keep successful tunnel connections alive regardless of `Connection...
Oleg Kalnichevski [Fri, 17 Sep 2021 14:23:21 +0000 (16:23 +0200)] 
HTTPCLIENT-2177: keep successful tunnel connections alive regardless of `Connection: close`

9 months agoHTTPCLIENT-2173: test case for identity transfer encoded response messages
Oleg Kalnichevski [Tue, 31 Aug 2021 13:38:51 +0000 (15:38 +0200)] 
HTTPCLIENT-2173: test case for identity transfer encoded response messages

9 months agoHTTPCLIENT-2173: async pooling connection manager to close half-open connection grace...
Oleg Kalnichevski [Tue, 31 Aug 2021 13:38:05 +0000 (15:38 +0200)] 
HTTPCLIENT-2173: async pooling connection manager to close half-open connection gracefully

10 months agoDon't retry a request for NoRouteToHostException
Jaikiran Pai [Sun, 22 Aug 2021 13:47:57 +0000 (19:17 +0530)] 
Don't retry a request for NoRouteToHostException

10 months agoHTTPCLIENT-2170: Classic protocol layer no longer releases the underlying connection...
Oleg Kalnichevski [Thu, 19 Aug 2021 13:29:39 +0000 (15:29 +0200)] 
HTTPCLIENT-2170: Classic protocol layer no longer releases the underlying connection back to the pool prematurely while the NTLM handshake is still ongoing

11 months agoFixed connection lease request cancellation race in both classic and asyc pooling...
Oleg Kalnichevski [Sun, 20 Jun 2021 19:39:18 +0000 (21:39 +0200)] 
Fixed connection lease request cancellation race in both classic and asyc pooling connection managers

13 months agoUpdated site URL in distribution management
Oleg Kalnichevski [Tue, 11 May 2021 21:14:47 +0000 (23:14 +0200)] 
Updated site URL in distribution management

13 months agoUpgraded API level to 5.1
Oleg Kalnichevski [Tue, 11 May 2021 19:33:57 +0000 (21:33 +0200)] 
Upgraded API level to 5.1

13 months agoUpgraded HttpClient version to 5.1.1-SNAPSHOT
Oleg Kalnichevski [Tue, 11 May 2021 19:03:27 +0000 (21:03 +0200)] 
Upgraded HttpClient version to 5.1.1-SNAPSHOT

13 months agoUpgraded HttpCore to version 5.1.1
Oleg Kalnichevski [Fri, 7 May 2021 16:51:03 +0000 (18:51 +0200)] 
Upgraded HttpCore to version 5.1.1

13 months agoUpdated release notes for HttpClient 5.1 release
Oleg Kalnichevski [Thu, 6 May 2021 17:44:31 +0000 (19:44 +0200)] 
Updated release notes for HttpClient 5.1 release

13 months agoHTTPCLIENT-2157: response object generated by the classic caching backend is missing...
Oleg Kalnichevski [Sat, 1 May 2021 15:26:07 +0000 (17:26 +0200)] 
HTTPCLIENT-2157: response object generated by the classic caching backend is missing the original content encoding

13 months agoExtra sage-guards for concurrent connection endpoint acquisition and request executio...
Oleg Kalnichevski [Wed, 28 Apr 2021 14:31:16 +0000 (16:31 +0200)] 
Extra sage-guards for concurrent connection endpoint acquisition and request execution cancellation

14 months agoHTTPCLIENT-2152: Fixed handling of unexpected unchecked exception by the async reques...
Oleg Kalnichevski [Sun, 25 Apr 2021 13:08:52 +0000 (15:08 +0200)] 
HTTPCLIENT-2152: Fixed handling of unexpected unchecked exception by the async request retry exec interceptor

14 months agoAsync clients to support scheduled (delayed) re-execution of requests
Oleg Kalnichevski [Sun, 25 Apr 2021 13:04:36 +0000 (15:04 +0200)] 
Async clients to support scheduled (delayed) re-execution of requests

14 months agoHTTPCLIENT-2148: fluent Executor volatile access thread safety (#301)
Carter Kozak [Sun, 11 Apr 2021 14:29:55 +0000 (10:29 -0400)] 
HTTPCLIENT-2148: fluent Executor volatile access thread safety (#301)

14 months agoHTTPCLIENT-2149: When no dNSName, match against CN
Peter Dettman [Fri, 9 Apr 2021 12:16:18 +0000 (19:16 +0700)] 
HTTPCLIENT-2149: When no dNSName, match against CN

14 months agoHTTPCLIENT-2147: fixed broken preemptive auth in HC Fluent
rrodewald [Tue, 6 Apr 2021 16:12:49 +0000 (18:12 +0200)] 
HTTPCLIENT-2147: fixed broken preemptive auth in HC Fluent

14 months agoHTTPCORE-672: cleanup of H2 connection validation code
Oleg Kalnichevski [Fri, 2 Apr 2021 20:00:52 +0000 (22:00 +0200)] 
HTTPCORE-672: cleanup of H2 connection validation code

14 months agoHttpAsyncClientBuilder: Make IOReactor exception callback configurable
Ryan Schmitt [Wed, 31 Mar 2021 17:51:26 +0000 (10:51 -0700)] 
HttpAsyncClientBuilder: Make IOReactor exception callback configurable

14 months agoUpdated release notes for HttpClient 5.1
Oleg Kalnichevski [Mon, 29 Mar 2021 07:27:44 +0000 (09:27 +0200)] 
Updated release notes for HttpClient 5.1

15 months agoFix javadoc
Arturo Bernal [Sat, 27 Mar 2021 18:46:46 +0000 (19:46 +0100)] 
Fix javadoc

15 months agoHTTPCLIENT-2141: HttpClient to not retry requests if the retry interval exceeds the...
Oleg Kalnichevski [Wed, 24 Mar 2021 18:35:55 +0000 (19:35 +0100)] 
HTTPCLIENT-2141: HttpClient to not retry requests if the retry interval exceeds the response timeout

15 months agoFixed NPE during dispose in Response if entity is null
Sandeep Kulkarni [Thu, 18 Mar 2021 07:58:11 +0000 (13:28 +0530)] 
Fixed NPE during dispose in Response if entity is null

15 months agoReuse org.apache.hc.core5.http.Method HTTP spec enum
Arturo Bernal [Tue, 16 Mar 2021 06:05:24 +0000 (07:05 +0100)] 
Reuse org.apache.hc.core5.http.Method HTTP spec enum

15 months agoBlocking connection managers to validate connections after inactivity of more than...
Oleg Kalnichevski [Mon, 15 Mar 2021 20:44:37 +0000 (21:44 +0100)] 
Blocking connection managers to validate connections after inactivity of more than 2s by default; behavior of async connection managers remains the same

15 months agoFixed context logging in BasicHttpClientConnectionManager
Oleg Kalnichevski [Mon, 15 Mar 2021 20:38:55 +0000 (21:38 +0100)] 
Fixed context logging in BasicHttpClientConnectionManager

15 months agoDeprecated request factory classes in favor of request builders
Oleg Kalnichevski [Sun, 14 Mar 2021 21:06:55 +0000 (22:06 +0100)] 
Deprecated request factory classes in favor of request builders

15 months agoBetter javadocs for simple message classes
Oleg Kalnichevski [Sun, 14 Mar 2021 19:37:08 +0000 (20:37 +0100)] 
Better javadocs for simple message classes

15 months agoImproved async client examples
Oleg Kalnichevski [Sun, 14 Mar 2021 19:08:37 +0000 (20:08 +0100)] 
Improved async client examples

15 months agoSimple message builders
Oleg Kalnichevski [Sun, 14 Mar 2021 15:29:58 +0000 (16:29 +0100)] 
Simple message builders

15 months agoFixed typo for enum name Postion to Position
Sandeep Kulkarni [Sun, 14 Mar 2021 15:25:47 +0000 (20:55 +0530)] 
Fixed typo for enum name Postion to Position

15 months agoFixed typos javadocs and var names
Arturo Bernal [Sun, 14 Mar 2021 06:53:13 +0000 (07:53 +0100)] 
Fixed typos javadocs and var names

15 months agoHTTPCLIENT-2140: Upgraded Commons Codec to version 1.15
Oleg Kalnichevski [Sat, 13 Mar 2021 16:16:17 +0000 (17:16 +0100)] 
HTTPCLIENT-2140: Upgraded Commons Codec to version 1.15

15 months agoRequest factory classes to re-use `Method#normalizedValueOf`
Oleg Kalnichevski [Mon, 8 Mar 2021 21:39:07 +0000 (22:39 +0100)] 
Request factory classes to re-use `Method#normalizedValueOf`

15 months agoCleanup of redirect request generation code in Redirect exec interceptors
Oleg Kalnichevski [Mon, 8 Mar 2021 21:28:33 +0000 (22:28 +0100)] 
Cleanup of redirect request generation code in Redirect exec interceptors

15 months agoImproved proxy request message generation
Oleg Kalnichevski [Mon, 8 Mar 2021 21:27:43 +0000 (22:27 +0100)] 
Improved proxy request message generation

15 months agoDeprecated message copiers in favor of generic message builders
Oleg Kalnichevski [Mon, 8 Mar 2021 21:26:30 +0000 (22:26 +0100)] 
Deprecated message copiers in favor of generic message builders

15 months agoUpgraded HttpCore to version 5.1
Oleg Kalnichevski [Mon, 8 Mar 2021 20:47:36 +0000 (21:47 +0100)] 
Upgraded HttpCore to version 5.1

16 months agoRemove duplicated conditional statement in ResponseProcessCookies
leedonggyu [Thu, 25 Feb 2021 06:24:23 +0000 (15:24 +0900)] 
Remove duplicated conditional statement in ResponseProcessCookies

16 months agoDeleted sample code moved to HttpComponents Website project
Oleg Kalnichevski [Tue, 23 Feb 2021 17:40:55 +0000 (18:40 +0100)] 
Deleted sample code moved to HttpComponents Website project

16 months agoFix the issues causing Kerberos/SPNego to fail
Carey Lin [Sat, 20 Feb 2021 15:57:20 +0000 (10:57 -0500)] 
Fix the issues causing Kerberos/SPNego to fail

1. At the beginning of the negotiate, no token is defined in "WWW-Authenticate: Negotiate".
2. Kerberos expects HTTP.

16 months agoFix typo on cookie formatting method
imbyungjun [Tue, 16 Feb 2021 14:46:43 +0000 (23:46 +0900)] 
Fix typo on cookie formatting method

16 months agoFix Typo
Arturo Bernal [Tue, 9 Feb 2021 06:26:05 +0000 (07:26 +0100)] 
Fix Typo

16 months agoUpgraded HttpClient version to 5.1-beta2-SNAPSHOT
Oleg Kalnichevski [Wed, 10 Feb 2021 21:06:51 +0000 (22:06 +0100)] 
Upgraded HttpClient version to 5.1-beta2-SNAPSHOT

16 months agoUpdated copyright statement in NOTICE.txt
Oleg Kalnichevski [Sun, 7 Feb 2021 11:16:39 +0000 (12:16 +0100)] 
Updated copyright statement in NOTICE.txt

16 months agoDeprecated some URIUtils methods in favor of URIBuilder
Oleg Kalnichevski [Sat, 6 Feb 2021 17:05:01 +0000 (18:05 +0100)] 
Deprecated some URIUtils methods in favor of URIBuilder

16 months agoRequest message copy optimization
Oleg Kalnichevski [Sat, 6 Feb 2021 16:36:24 +0000 (17:36 +0100)] 
Request message copy optimization

16 months agoUpdated release notes for HttpClient 5.1-beta1 release
Oleg Kalnichevski [Sat, 6 Feb 2021 13:13:47 +0000 (14:13 +0100)] 
Updated release notes for HttpClient 5.1-beta1 release

16 months agoUpgraded project version to 5.1-beta1-SNAPSHOT
Oleg Kalnichevski [Sat, 6 Feb 2021 12:28:08 +0000 (13:28 +0100)] 
Upgraded project version to 5.1-beta1-SNAPSHOT

16 months agoRFC 3986 conformance: re-use URIBuilder new functionality in URIUtils#normalizeSyntax
Oleg Kalnichevski [Sat, 6 Feb 2021 12:26:05 +0000 (13:26 +0100)] 
RFC 3986 conformance: re-use URIBuilder new functionality in URIUtils#normalizeSyntax

16 months agoUpgraded HttpCore to version 5.1-beta3
Oleg Kalnichevski [Fri, 5 Feb 2021 21:24:08 +0000 (22:24 +0100)] 
Upgraded HttpCore to version 5.1-beta3

16 months agoMinor Improvement:
Arturo Bernal [Fri, 5 Feb 2021 13:00:06 +0000 (14:00 +0100)] 
Minor Improvement:

* Avoid duplicate code
* Simplify if else
* Inline variables

16 months agoscm-publish to /components/httpcomponents-client-5.0.x/LATEST
Hervé Boutemy [Fri, 29 Jan 2021 07:05:33 +0000 (08:05 +0100)] 
scm-publish to /components/httpcomponents-client-5.0.x/LATEST

17 months agoMinor Improvements:
Arturo Bernal [Mon, 25 Jan 2021 19:12:15 +0000 (20:12 +0100)] 
Minor Improvements:

* Use Empty collections
* Unnecessary toString

17 months agoNo need to copy example sources as resources when generating site content
Oleg Kalnichevski [Sun, 17 Jan 2021 10:12:33 +0000 (11:12 +0100)] 
No need to copy example sources as resources when generating site content

17 months agoactivate SCM publish to /httpcomponents-client-5.0.x/doc/
Hervé Boutemy [Sun, 10 Jan 2021 17:07:02 +0000 (18:07 +0100)] 
activate SCM publish to /httpcomponents-client-5.0.x/doc/

17 months agoimprove documentation format
Hervé Boutemy [Sat, 9 Jan 2021 20:51:14 +0000 (21:51 +0100)] 
improve documentation format

17 months agoMinor Improvements:
Arturo Bernal [Mon, 4 Jan 2021 20:16:34 +0000 (21:16 +0100)] 
Minor Improvements:

* Remove redundant initialization

17 months agoImproved context and wire logging
Oleg Kalnichevski [Sun, 20 Dec 2020 13:00:19 +0000 (14:00 +0100)] 
Improved context and wire logging

17 months agoImproved I/O session logging
Oleg Kalnichevski [Sat, 19 Dec 2020 11:12:15 +0000 (12:12 +0100)] 
Improved I/O session logging

17 months agoFix incorrect logger API dependency in README
Marcono1234 [Wed, 23 Dec 2020 23:36:35 +0000 (00:36 +0100)] 
Fix incorrect logger API dependency in README

17 months agoConvert README to markdown
Marcono1234 [Wed, 23 Dec 2020 18:06:54 +0000 (19:06 +0100)] 
Convert README to markdown

17 months agoMinor Improvements:
Arturo Bernal [Thu, 31 Dec 2020 07:39:22 +0000 (08:39 +0100)] 
Minor Improvements:

* Add final to variable
* Unnecessary semicolon
* Use Standard Charset object
* Unnecessary conversion to String
* Simplifiable conditional expression
* Replace 'Arrays.asList()' with Collections.singletonList
* Redundant local variable. Simplify

18 months agoAdd interceptors before MAIN_TRANSPORT so they won't be ignored (#272)
Rob Spoor [Wed, 9 Dec 2020 10:54:58 +0000 (11:54 +0100)] 
Add interceptors before MAIN_TRANSPORT so they won't be ignored (#272)

18 months agoHTTPCLIENT-2104: ManagedHttpClientConnectionFactory supports ResponseOutOfOrderStrate...
Carter Kozak [Sun, 6 Dec 2020 21:38:16 +0000 (16:38 -0500)] 
HTTPCLIENT-2104: ManagedHttpClientConnectionFactory supports ResponseOutOfOrderStrategy configuration

18 months agoFixed generics
Oleg Kalnichevski [Wed, 2 Dec 2020 15:11:30 +0000 (16:11 +0100)] 
Fixed generics

18 months agoUpgraded HttpCore to version 5.1-beta2
Oleg Kalnichevski [Wed, 2 Dec 2020 15:11:14 +0000 (16:11 +0100)] 
Upgraded HttpCore to version 5.1-beta2

18 months agoExternal compatibility tests to use HTTP protocol negotiation settings
Oleg Kalnichevski [Sun, 29 Nov 2020 13:33:32 +0000 (14:33 +0100)] 
External compatibility tests to use HTTP protocol negotiation settings

19 months agoDocument PR #270: Master try w res and more.
Gary Gregory [Tue, 24 Nov 2020 14:26:26 +0000 (09:26 -0500)] 
Document PR #270: Master try w res and more.

19 months agoRemove redundant returns.
Gary Gregory [Mon, 23 Nov 2020 17:14:22 +0000 (12:14 -0500)] 
Remove redundant returns.

19 months agoRemove redundant modifiers.
Gary Gregory [Mon, 23 Nov 2020 16:43:24 +0000 (11:43 -0500)] 
Remove redundant modifiers.

- All methods in a final class are already final.
- All members of an interface are public.
- All inner enums are static.

19 months agoSimplify if/else.
Gary Gregory [Mon, 23 Nov 2020 16:26:22 +0000 (11:26 -0500)] 
Simplify if/else.

19 months agoAdd missing @Override.
Gary Gregory [Mon, 23 Nov 2020 16:17:54 +0000 (11:17 -0500)] 
Add missing @Override.

19 months agoUse Arrays.fill().
Gary Gregory [Mon, 23 Nov 2020 15:54:36 +0000 (10:54 -0500)] 
Use Arrays.fill().

19 months agoUse try-with-resources.
Gary Gregory [Mon, 23 Nov 2020 15:43:21 +0000 (10:43 -0500)] 
Use try-with-resources.

19 months agoFix NPE when H2/Async client interceptors are added using first/last (#268)
Koji Lin [Fri, 6 Nov 2020 08:49:55 +0000 (17:49 +0900)] 
Fix NPE when H2/Async client interceptors are added using first/last (#268)

19 months agoHTTPCLIENT-2126: `InternalAbstractHttpAsyncClient` incorrectly handles response messa...
Oleg Kalnichevski [Fri, 6 Nov 2020 08:37:25 +0000 (09:37 +0100)] 
HTTPCLIENT-2126: `InternalAbstractHttpAsyncClient` incorrectly handles response messages with no enclosed entity

19 months agoBuild and test on both AMD64 and ARM64
Martin Tzvetanov Grigorov [Tue, 3 Nov 2020 14:13:54 +0000 (16:13 +0200)] 
Build and test on both AMD64 and ARM64

Use 'arm64' instead of 'arm64-graviton2'

The Graviton2 builder is available only on travis-ci.com. Apache uses travis-ci.org

Install Maven explicitly because it is not pre-installed on the ARM64 image for Trusty

19 months agoHTTPCLIENT-2126: `AsyncCachingExec` throws NPE when response body is null
Oleg Kalnichevski [Thu, 5 Nov 2020 14:09:31 +0000 (15:09 +0100)] 
HTTPCLIENT-2126: `AsyncCachingExec` throws NPE when response body is null

19 months agoSet up CodeQL scans
Artem Smotrakov [Fri, 30 Oct 2020 13:03:29 +0000 (14:03 +0100)] 
Set up CodeQL scans

19 months agoAdded a security policy
Artem Smotrakov [Fri, 30 Oct 2020 12:47:00 +0000 (13:47 +0100)] 
Added a security policy

19 months agoFixed several findings from LGTM.com
Artem Smotrakov [Thu, 29 Oct 2020 16:30:54 +0000 (17:30 +0100)] 
Fixed several findings from LGTM.com

- Fixed a few possible null dereferences
- Fixed a few possible out-of-bound array ops
- Added a couple of test cases

20 months ago[HTTPCLIENT-2124] NullPointerException in MinimalHttpClient.doExecute(HttpHost, Class...
Gary Gregory [Sun, 25 Oct 2020 20:29:31 +0000 (16:29 -0400)] 
[HTTPCLIENT-2124] NullPointerException in MinimalHttpClient.doExecute(HttpHost, ClassicHttpRequest, HttpContext) (#261)

20 months agoHTTPCLIENT-2122: async client to throw `HTTP/2 tunneling not supported` protocol...
Oleg Kalnichevski [Thu, 22 Oct 2020 15:38:43 +0000 (17:38 +0200)] 
HTTPCLIENT-2122: async client to throw `HTTP/2 tunneling not supported` protocol exception in case of `force HTTP/2` version policy used along with request proxy routing

20 months agoHTTPCLIENT-2123: H2AsyncClientBuilder incorrectly adds last request interceptors...
Oleg Kalnichevski [Wed, 21 Oct 2020 17:39:05 +0000 (19:39 +0200)] 
HTTPCLIENT-2123: H2AsyncClientBuilder incorrectly adds last request interceptors to the head of the interceptor list

20 months agoHTTPCLIENT-2119: added missing system properties to HttpClientBuilder javadocs
Oleg Kalnichevski [Sat, 17 Oct 2020 10:07:36 +0000 (12:07 +0200)] 
HTTPCLIENT-2119: added missing system properties to HttpClientBuilder javadocs

20 months agoFix typo in enum
Varun Sivapalan [Tue, 6 Oct 2020 08:09:44 +0000 (10:09 +0200)] 
Fix typo in enum

20 months agoHTTPCLIENT-2118: Corrected PoolingHttpClientConnectionManager javadocs
Oleg Kalnichevski [Sat, 3 Oct 2020 10:12:58 +0000 (12:12 +0200)] 
HTTPCLIENT-2118: Corrected PoolingHttpClientConnectionManager javadocs

20 months agoRFC 3986 conformance: corrected handling of path segments by `URIUtils#normalizeSynta...
Oleg Kalnichevski [Sat, 19 Sep 2020 10:56:23 +0000 (12:56 +0200)] 
RFC 3986 conformance: corrected handling of path segments by `URIUtils#normalizeSyntax`; optimized path segment operations

20 months agoRFC 3986 conformance: revised and optimized `URIUtils#extractHost`
Oleg Kalnichevski [Thu, 17 Sep 2020 09:21:09 +0000 (11:21 +0200)] 
RFC 3986 conformance: revised and optimized `URIUtils#extractHost`