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

18 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

18 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

18 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

18 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`

18 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

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

18 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

18 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

19 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

19 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

19 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.

19 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

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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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

19 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

20 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

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

* Use Empty collections
* Unnecessary toString

20 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

20 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/

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

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

* Remove redundant initialization

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

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

21 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

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

21 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

21 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)

21 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

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

22 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

22 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

22 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.

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

22 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.

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

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

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

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

22 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)

22 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

22 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

22 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

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

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

23 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

23 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)

23 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

23 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

23 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

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

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

2 years 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

2 years 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`

2 years agoReplaced deprecated URLEncodedUtils
Oleg Kalnichevski [Wed, 16 Sep 2020 15:17:44 +0000 (17:17 +0200)] 
Replaced deprecated URLEncodedUtils

2 years agoReplaced deprecated TokenParser
Oleg Kalnichevski [Wed, 16 Sep 2020 15:14:11 +0000 (17:14 +0200)] 
Replaced deprecated TokenParser

2 years agoUpgraded HttpCore dependency to version 5.1-beta1
Oleg Kalnichevski [Wed, 16 Sep 2020 14:58:52 +0000 (16:58 +0200)] 
Upgraded HttpCore dependency to version 5.1-beta1

2 years agoUse decimal numbers for endpoint/execution IDs
Michael Osipov [Tue, 18 Aug 2020 10:16:46 +0000 (12:16 +0200)] 
Use decimal numbers for endpoint/execution IDs

This closes #249

2 years agoHTTPCLIENT-2106: Added charset parameter for DigestScheme
Oleg Kalnichevski [Mon, 10 Aug 2020 13:28:44 +0000 (15:28 +0200)] 
HTTPCLIENT-2106: Added charset parameter for DigestScheme

2 years agoHTTPCLIENT-2103: ManagedHttpClientConnectionFactory provides a fluent builder
Carter Kozak [Tue, 4 Aug 2020 19:06:34 +0000 (15:06 -0400)] 
HTTPCLIENT-2103: ManagedHttpClientConnectionFactory provides a fluent builder

2 years agoFixed 'JdbcRowSetImpl is internal proprietary API and may be removed in a future...
Oleg Kalnichevski [Sat, 19 Sep 2020 11:06:32 +0000 (13:06 +0200)] 
Fixed 'JdbcRowSetImpl is internal proprietary API and may be removed in a future release' warning

2 years agoUpgraded HttpClient version to 5.0.3-SNAPSHOT
Oleg Kalnichevski [Sun, 27 Sep 2020 10:12:59 +0000 (12:12 +0200)] 
Upgraded HttpClient version to 5.0.3-SNAPSHOT

2 years agoUpdated release notes for HttpClient 5.0.2 release
Oleg Kalnichevski [Tue, 22 Sep 2020 09:00:46 +0000 (11:00 +0200)] 
Updated release notes for HttpClient 5.0.2 release

2 years agoMove public suffix list to generate-resources and apache-release profile
Michael Osipov [Mon, 21 Sep 2020 09:43:02 +0000 (11:43 +0200)] 
Move public suffix list to generate-resources and apache-release profile

2 years agoAdd project modules to dependency management
Michael Osipov [Mon, 21 Sep 2020 09:34:44 +0000 (11:34 +0200)] 
Add project modules to dependency management

2 years agoUnify JXR and Surefire report config
Michael Osipov [Mon, 21 Sep 2020 09:22:24 +0000 (11:22 +0200)] 
Unify JXR and Surefire report config

2 years agoUnify Javadoc report config
Michael Osipov [Mon, 21 Sep 2020 09:15:47 +0000 (11:15 +0200)] 
Unify Javadoc report config

2 years agoRemove plugin executions run by release already
Michael Osipov [Mon, 21 Sep 2020 09:07:50 +0000 (11:07 +0200)] 
Remove plugin executions run by release already

2 years agoRemove default config
Michael Osipov [Mon, 21 Sep 2020 09:03:08 +0000 (11:03 +0200)] 
Remove default config

2 years agoUpdate SCM URLs
Michael Osipov [Mon, 21 Sep 2020 08:58:51 +0000 (10:58 +0200)] 
Update SCM URLs

2 years agoUpgrade Parent to 12
Michael Osipov [Mon, 21 Sep 2020 08:56:49 +0000 (10:56 +0200)] 
Upgrade Parent to 12

Massively remove everything already present in the parent POM.

2 years agoReplace HTTP with HTTPS
Michael Osipov [Mon, 21 Sep 2020 08:51:10 +0000 (10:51 +0200)] 
Replace HTTP with HTTPS

2 years agoHTTPCLIENT-2116: Incorrect request message composition when routing requests via...
Oleg Kalnichevski [Wed, 16 Sep 2020 09:23:09 +0000 (11:23 +0200)] 
HTTPCLIENT-2116: Incorrect request message composition when routing requests via a proxy

2 years agoPoolingAsyncClientConnectionManager incorrectly emits Ping commands to HTTP/1.1 endpo...
滕杰1 [Mon, 14 Sep 2020 12:12:41 +0000 (20:12 +0800)] 
PoolingAsyncClientConnectionManager incorrectly emits Ping commands to HTTP/1.1 endpoints #255

2 years agoUpgraded HttpCore dependency to version 5.0.2
Oleg Kalnichevski [Mon, 14 Sep 2020 09:31:39 +0000 (11:31 +0200)] 
Upgraded HttpCore dependency to version 5.0.2

2 years agoHTTPCLIENT-2115: HttpAsyncClientBuilder and H2AsyncClientBuilder fail to take `replac...
Oleg Kalnichevski [Tue, 8 Sep 2020 14:30:08 +0000 (16:30 +0200)] 
HTTPCLIENT-2115: HttpAsyncClientBuilder and H2AsyncClientBuilder fail to take `replaceExecInterceptor()` into account

2 years agoHTTPCLIENT-2112: AbstractMultipartFormat respects ByteBuffer.arrayOffset (#253)
Carter Kozak [Fri, 28 Aug 2020 12:05:32 +0000 (08:05 -0400)] 
HTTPCLIENT-2112: AbstractMultipartFormat respects ByteBuffer.arrayOffset (#253)

2 years agoHTTPCLIENT-2109: Fix RequestConfig.Builder#setConnectionKeepAlive javadoc (#252)
Carter Kozak [Sun, 23 Aug 2020 15:50:21 +0000 (11:50 -0400)] 
HTTPCLIENT-2109: Fix RequestConfig.Builder#setConnectionKeepAlive javadoc (#252)

2 years agoHTTPCLIENT-2078: Log debug message when no credentials for given auth scope are found 251/head
Michael Osipov [Tue, 18 Aug 2020 19:31:25 +0000 (21:31 +0200)] 
HTTPCLIENT-2078: Log debug message when no credentials for given auth scope are found

This closes #251

2 years agoAvoid updating Content-Length header in a 304 response.
dirkhenselin [Tue, 18 Aug 2020 10:24:22 +0000 (12:24 +0200)] 
Avoid updating Content-Length header in a 304 response.

I observed the following problem: `Transfer-Encoding` and
`Content-Length` headers should be mutually exclusive and because I use
chunked transfer, the `Transfer-Encoding` header is set in the response
while the `Content-Length` header is not. In case of a 304 during a
revalidation, the header contains Content-Length=0. Probably a proxy is
responsible for this, just like the comment "Some well-known proxies
respond with Content-Length=0, when returning 304" in the method
CachedHttpResponseGenerator::addMissingContentLengthHeader is saying. In
CacheEntryUpdater::mergeHeaders the Content-Length=0 is merged into the
cached entry, but the cached entry contains also a `Transfer-Encoding`
header, so in the cached entry these headers aren't mutually exclusive
anymore. Because of the `Transfer-Encoding` header the method
CachedHttpResponseGenerator::addMissingContentLengthHeader isn't fixing
the `Content-Length` header and Content-Length=0 causes returning null
instead of the cached content. IMHO the `Content-Length` header should
not be merged into the cached response in case of a 304, at least if the
cached entry contains a `Transfer-Encoding` header.

2 years agoHTTPCLIENT-2107: Threadsafe PoolingHttpClientConnectionManager field volatile access
Carter Kozak [Mon, 10 Aug 2020 15:34:24 +0000 (11:34 -0400)] 
HTTPCLIENT-2107: Threadsafe PoolingHttpClientConnectionManager field volatile access

2 years agoHTTPCLIENT-2105: async clients incorrectly handle redirects of requests with enclosed...
Oleg Kalnichevski [Sun, 9 Aug 2020 17:13:18 +0000 (19:13 +0200)] 
HTTPCLIENT-2105: async clients incorrectly handle redirects of requests with enclosed entity

2 years agoUpgraded maven-download-plugin to version 1.6.0
Oleg Kalnichevski [Sat, 18 Jul 2020 13:50:01 +0000 (15:50 +0200)] 
Upgraded maven-download-plugin to version 1.6.0

2 years agoHTTPCLIENT-2100: incorrect handling of EXTENDED mode by MultipartEntityBuilder
Oleg Kalnichevski [Wed, 15 Jul 2020 09:47:57 +0000 (11:47 +0200)] 
HTTPCLIENT-2100: incorrect handling of EXTENDED mode by MultipartEntityBuilder

2 years agoHTTPCLIENT-2099, HTTPCLIENT-2091: SSLConnectionSocketFactory connect timeout fix... 242/head
Carter Kozak [Sat, 11 Jul 2020 15:18:42 +0000 (11:18 -0400)] 
HTTPCLIENT-2099, HTTPCLIENT-2091: SSLConnectionSocketFactory connect timeout fix (#241)

SSLConnectionSocketFactory no longer overrides the socket timeout
with the connect timeout when an unlimited socket timeout is
configured. This matches behavior of HTTPCLIENT-2091.

Note that in scenarios where SocketConfig sets an infinite timeout
and the RequestConfig sets a bounded timeout, this change results
in the connect-timeout no longer applying to the TLS handshake.
This behavior can be retained by setting the expected timeout in
the SocketConfig.

2 years agoDocument: Bug fix: BasicExpiresHandler is annotated as immutable but is
Gary Gregory [Fri, 10 Jul 2020 13:01:05 +0000 (09:01 -0400)] 
Document: Bug fix: BasicExpiresHandler is annotated as immutable but is
not. #240.

2 years agoBasicExpiresHandler is annotated as immutable but is not. (#240)
Gary Gregory [Fri, 10 Jul 2020 12:57:24 +0000 (08:57 -0400)] 
BasicExpiresHandler is annotated as immutable but is not. (#240)

2 years agoHTTPCLIENT-2096: Migrate instance loggers to static fields
Carter Kozak [Sun, 5 Jul 2020 17:28:48 +0000 (13:28 -0400)] 
HTTPCLIENT-2096: Migrate instance loggers to static fields

Note that this may change the origin of logging when classes
have been subclassed, as the logger origin will use the class
name that defined the logger where previously the subclass type
would be used. In scenarios where external libraries subclass
httpclient utilities this allows httpclient logging to maintain
the `org.apache.hc` prefix instead of inheriting arbitrary
subclass names.

Using some logging frameworks this may result in reduced churn
when httpclient components are created (new connections, for example)
because loggers are looked up once per class.

2 years agoAdd Automatic-Module-Name in manifest so Java9 modular applications can depend on...
Niels Basjes [Sat, 4 Jul 2020 13:38:27 +0000 (15:38 +0200)] 
Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library

2 years agoHTTPCLIENT-2097: Fix PoolingAsyncClientConnectionManager boxed primitive reference...
Carter Kozak [Sun, 5 Jul 2020 17:10:25 +0000 (13:10 -0400)] 
HTTPCLIENT-2097: Fix PoolingAsyncClientConnectionManager boxed primitive reference equality

2 years agoMultipartEntityBuilder#generateBoundary optimization (#233)
slisaasquatch [Sat, 4 Jul 2020 07:49:07 +0000 (00:49 -0700)] 
MultipartEntityBuilder#generateBoundary optimization (#233)

2 years agoHTTPCLIENT-2095: Use slf4j interpolation instead of string concatenation where possib...
Carter Kozak [Thu, 2 Jul 2020 15:51:43 +0000 (11:51 -0400)] 
HTTPCLIENT-2095: Use slf4j interpolation instead of string concatenation where possible (#232)

2 years agoHTTPCLIENT-2094: ConnectionManager validateAfterInactivity zero duration agreement
Carter Kozak [Wed, 1 Jul 2020 17:47:01 +0000 (13:47 -0400)] 
HTTPCLIENT-2094: ConnectionManager validateAfterInactivity zero duration agreement

Both connection managers agree on the meaning of a zero-duration
validateAfterInactivity value. Previously the documentation for
both suggested that zero resulted in no validation, however
the classic client would validate prior to each request and
the async client would never validate.
This commit standardizes behavior on the classic client, which
is consistent with hc4.x, allowing zero to force validation prior
to every request.