Oleg Kalnichevski [Sat, 26 Feb 2022 13:54:26 +0000 (14:54 +0100)]
HTTPCLIENT-2206: Corrected resource de-allocation by fluent response objects
Oleg Kalnichevski [Tue, 7 Dec 2021 22:35:02 +0000 (23:35 +0100)]
Updated NOTICE
Oleg Kalnichevski [Tue, 7 Dec 2021 22:34:34 +0000 (23:34 +0100)]
Added distribution management section to the project POM
Oleg Kalnichevski [Tue, 7 Dec 2021 22:33:01 +0000 (23:33 +0100)]
Cleaned up POM structure
Oleg Kalnichevski [Tue, 7 Dec 2021 13:48:39 +0000 (14:48 +0100)]
Upgraded HttpCore to version 4.4.15
Oleg Kalnichevski [Sat, 11 Sep 2021 11:45:48 +0000 (13:45 +0200)]
HTTPCLIENT-2174: URUBuilder to return a new empty list instead of unmodifiable Collections#emptyList
Jaikiran Pai [Sun, 22 Aug 2021 13:47:57 +0000 (19:17 +0530)]
Don't retry a request for NoRouteToHostException
Carsten Ziegeler [Fri, 11 Jun 2021 13:34:47 +0000 (15:34 +0200)]
Change password property type to Password
Tomo Suzuki [Fri, 2 Apr 2021 19:19:13 +0000 (15:19 -0400)]
Updating project URL to include '-ga' suffix
Oleg Kalnichevski [Sat, 27 Mar 2021 16:50:47 +0000 (17:50 +0100)]
HTTPCLIENT-2144: RequestBuilder fails to correctly copy charset of requests with form url-encoded body
Oleg Kalnichevski [Tue, 23 Feb 2021 17:44:48 +0000 (18:44 +0100)]
Deleted sample code moved to HttpComponents Website project
Gary Gregory [Wed, 2 Dec 2020 01:21:26 +0000 (20:21 -0500)]
Remove clone() method that only calls super in Object.
Oleg Kalnichevski [Mon, 30 Nov 2020 21:30:45 +0000 (22:30 +0100)]
Upgraded HttpCore to version 4.4.14
Gary Gregory [Thu, 26 Nov 2020 21:01:42 +0000 (16:01 -0500)]
PublicSuffixListParser.parseByType(Reader) allocates but does not use a
256 char StringBuilder.
Gary Gregory [Tue, 24 Nov 2020 23:11:45 +0000 (18:11 -0500)]
Clean up text.
Gary Gregory [Tue, 24 Nov 2020 20:35:34 +0000 (15:35 -0500)]
Document PR #269: 4.5.x use array fill and more.
Gary Gregory [Mon, 23 Nov 2020 17:43:58 +0000 (12:43 -0500)]
Use a 'L' instead of 'l' to make long literals more readable.
Gary Gregory [Mon, 23 Nov 2020 17:33:41 +0000 (12:33 -0500)]
Remote extra semicolons (;).
Gary Gregory [Mon, 23 Nov 2020 17:30:36 +0000 (12:30 -0500)]
No need to explicitly declare an array when calling a vararg method.
Gary Gregory [Mon, 23 Nov 2020 17:13:10 +0000 (12:13 -0500)]
Remove redundant returns.
Gary Gregory [Mon, 23 Nov 2020 17:02:05 +0000 (12:02 -0500)]
Use Collections.addAll() and Collection.addAll() APIs instead of loops.
Gary Gregory [Mon, 23 Nov 2020 16:47:32 +0000 (11:47 -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.
Gary Gregory [Mon, 23 Nov 2020 16:02:02 +0000 (11:02 -0500)]
Use Arrays.fill().
Gary Gregory [Thu, 5 Nov 2020 06:05:21 +0000 (01:05 -0500)]
Fix typo in local variable name.
Gary Gregory [Mon, 26 Oct 2020 01:34:00 +0000 (21:34 -0400)]
[HTTPCLIENT-2124] NullPointerException in
org.apache.hc.client5.http.impl.classic.MinimalHttpClient.doExecute(HttpHost,
ClassicHttpRequest, HttpContext)
Port test from master.
Oleg Kalnichevski [Sat, 17 Oct 2020 10:07:36 +0000 (12:07 +0200)]
HTTPCLIENT-2119: added missing system properties to HttpClientBuilder javadocs
Oleg Kalnichevski [Tue, 6 Oct 2020 07:26:06 +0000 (09:26 +0200)]
Upgraded HttpClient version to 4.5.14-SNAPSHOT
Gary Gregory [Wed, 8 Jul 2020 12:10:46 +0000 (08:10 -0400)]
Updated release notes for HttpClient 4.5.13 release
Oleg Kalnichevski [Tue, 29 Sep 2020 07:37:38 +0000 (09:37 +0200)]
Incorrect handling of malformed authority component by URIUtils#extractHost
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.
Gary Gregory [Wed, 8 Jul 2020 12:05:34 +0000 (08:05 -0400)]
BasicExpiresHandler is annotated as immutable but is not. (#239)
Gary Gregory [Tue, 7 Jul 2020 23:12:27 +0000 (19:12 -0400)]
Javadoc fixes. (#209)
Michael Osipov [Thu, 18 Jun 2020 07:42:47 +0000 (09:42 +0200)]
Correct status code typo in release notes
heejeongkim [Fri, 17 Apr 2020 09:14:21 +0000 (18:14 +0900)]
HTTPCLIENT-2076: fix NPE in LaxExpiresHandler (#222)
Oleg Kalnichevski [Sat, 7 Mar 2020 09:04:58 +0000 (10:04 +0100)]
Upgraded HttpClient version to 4.5.13-SNAPSHOT
Oleg Kalnichevski [Mon, 2 Mar 2020 14:05:32 +0000 (15:05 +0100)]
Updated release notes for HttpClient 4.5.12 release
Michael Osipov [Sat, 22 Feb 2020 13:45:13 +0000 (14:45 +0100)]
[HTTPCLIENT-2053] Add SC_PERMANENT_REDIRECT (408) to DefaultRedirectStrategy
This closes #215
Oleg Kalnichevski [Fri, 21 Feb 2020 19:29:17 +0000 (20:29 +0100)]
HTTPCLIENT-2052: Fixed redirection of entity enclosing requests with non-repeatable entities; additional integration tests for redirects of entity enclosing methods
Oleg Kalnichevski [Sat, 25 Jan 2020 14:49:44 +0000 (15:49 +0100)]
HTTPCLIENT-2047: fixed regression in DefaultHostnameVerifier causing rejection of certs with non-standard domains.
This reverts commit
e0416f07
Oleg Kalnichevski [Sat, 25 Jan 2020 14:24:19 +0000 (15:24 +0100)]
Bug fix: fixed handling of private domains by PublicSuffixMatcher
Oleg Kalnichevski [Sat, 18 Jan 2020 09:49:39 +0000 (10:49 +0100)]
Upgraded HttpClient version to 4.5.12-SNAPSHOT
Oleg Kalnichevski [Tue, 14 Jan 2020 10:39:36 +0000 (11:39 +0100)]
Updated release notes for HttpClient 4.5.11 release
Oleg Kalnichevski [Tue, 14 Jan 2020 10:43:07 +0000 (11:43 +0100)]
Updated NOTICE
Oleg Kalnichevski [Fri, 10 Jan 2020 13:52:15 +0000 (14:52 +0100)]
Domain name normalization
Oleg Kalnichevski [Mon, 13 Jan 2020 14:05:36 +0000 (15:05 +0100)]
Upgraded HttpCore dependency to version 4.4.13
Ryan Schmitt [Mon, 6 Jan 2020 23:57:06 +0000 (15:57 -0800)]
DefaultHostnameVerifier: Match DNS and CN names against ICANN domains
This change ensures that during hostname verification the public suffix
list is only used to prevent wildcard matching against entire TLDs (e.g.
`*.com`). Currently, private domains are also being matched against,
which is preventing reasonable wildcards (such as
`*.s3.eu-central-1.amazonaws.com`) from being respected.
Oleg Kalnichevski [Wed, 4 Dec 2019 11:55:00 +0000 (12:55 +0100)]
HTTPCLIENT-2033: connection managers to immediately shut down all leased connection upon shutdown
Michael Osipov [Wed, 27 Nov 2019 11:54:27 +0000 (12:54 +0100)]
HTTPCLIENT-2020: DefaultBackoffStrategy should include TOO_MANY_REQUESTS (429) too
Niels Basjes [Tue, 26 Nov 2019 12:32:33 +0000 (13:32 +0100)]
HTTPCLIENT-2030: Fix PublicSuffixMatcher::getDomainRoot on invalid hostnames
Oleg Kalnichevski [Thu, 14 Nov 2019 15:43:14 +0000 (16:43 +0100)]
HTTPCLIENT-2029: URIBuilder to support parsing of non-UTF8 URIs
Oleg Kalnichevski [Mon, 11 Nov 2019 08:29:27 +0000 (09:29 +0100)]
HTTPCLIENT-2026: Fixed URIBuilder#isOpaque() logic
chao chang [Sat, 9 Nov 2019 10:01:51 +0000 (19:01 +0900)]
update text in pool stats description
total kept alive -> total available
Olof Larsson [Wed, 6 Nov 2019 17:02:20 +0000 (18:02 +0100)]
HTTPCLIENT-2023: Allow nested arrays and all primitive types in DefaultHttpCacheEntrySerializer
Olof Larsson [Wed, 6 Nov 2019 16:56:52 +0000 (17:56 +0100)]
HTTPCLIENT-2022: Use message parameter in HttpCacheEntrySerializationException constructor
Ryan Schmitt [Wed, 2 Oct 2019 22:48:28 +0000 (15:48 -0700)]
Fix fallback PublicSuffixMatcher
Gary Gregory [Mon, 16 Sep 2019 12:59:50 +0000 (08:59 -0400)]
Added family property #145.
Oleg Kalnichevski [Mon, 9 Sep 2019 09:40:16 +0000 (11:40 +0200)]
Upgraded HttpClient version to 4.5.11-SNAPSHOT
Oleg Kalnichevski [Wed, 4 Sep 2019 13:33:43 +0000 (15:33 +0200)]
Updated release notes for HttpClient 4.5.10 release
Oleg Kalnichevski [Wed, 4 Sep 2019 12:19:09 +0000 (14:19 +0200)]
Upgraded HttpCore dependency to version 4.4.12
Gary Gregory [Thu, 5 Sep 2019 00:57:33 +0000 (20:57 -0400)]
Remove extra parens.
Gary Gregory [Sat, 31 Aug 2019 14:26:48 +0000 (10:26 -0400)]
Refactor DefaultRedirectStrategy for subclassing. (#164)
- Adds the constructor DefaultRedirectStrategy(String[]) to construct a new instance to redirect the given HTTP methods.
- The default constructor now calls the String[] constructor.
- Reimplement the LaxRedirectStrategy default constructor to call DefaultRedirectStrategy(String[]).
All of this allows for new custom subclasses of DefaultRedirectStrategy to provide their own array of HTTP methods to redirect.
Jang Ryeol [Thu, 22 Aug 2019 14:46:25 +0000 (23:46 +0900)]
Modify RequestConfig Javadoc
Cleaned up duplicate sentences and
addeded 'system default if applicable' from getSocketTimeout comment
Oleg Kalnichevski [Thu, 22 Aug 2019 15:02:13 +0000 (17:02 +0200)]
Use `dist: trusty` for Travis CI
Oleg Kalnichevski [Thu, 22 Aug 2019 14:43:56 +0000 (16:43 +0200)]
Improved handling of request cancellation
Oleg Kalnichevski [Thu, 22 Aug 2019 14:08:12 +0000 (16:08 +0200)]
Fixed concurrent use of threading unsafe HttpUriRequest messages
jeromedemangel [Wed, 26 Jun 2019 12:45:31 +0000 (14:45 +0200)]
HTTPCLIENT-1997: Return the last domain segment instead of normalized domain name from PublicSuffixMatcher#getDomainRoot in case there is no match
Oleg Kalnichevski [Tue, 18 Jun 2019 14:59:37 +0000 (16:59 +0200)]
Preserve original encoding of the URI path component if the URI is valid
Oleg Kalnichevski [Tue, 11 Jun 2019 09:12:49 +0000 (11:12 +0200)]
Upgraded HttpClient version to 4.5.10-SNAPSHOT
Oleg Kalnichevski [Thu, 6 Jun 2019 13:12:42 +0000 (15:12 +0200)]
Updated release notes for HttpClient 4.5.9 release
Oleg Kalnichevski [Sat, 1 Jun 2019 13:43:24 +0000 (15:43 +0200)]
HTTPCLIENT-1991: incorrect handling of non-standard DNS entries by PublicSuffixMatcher
Oleg Kalnichevski [Wed, 24 Apr 2019 07:47:05 +0000 (09:47 +0200)]
Merge pull request #146 from varunnvs92/4.5.x
Fix bug in URIBuilder#isPathEmpty method
Varun Nandi [Tue, 23 Apr 2019 23:35:15 +0000 (16:35 -0700)]
Fix bug in URIBuilder#isPathEmpty method to verify if encodedPath is an empty string
Oleg Kalnichevski [Tue, 16 Apr 2019 17:54:53 +0000 (19:54 +0200)]
Merge pull request #144 from mattnelson/HTTPCLIENT-1984
HTTPCLIENT-1984: Add normalize URI to RequestConfig copy constructor
Matt Nelson [Tue, 16 Apr 2019 17:00:27 +0000 (12:00 -0500)]
HTTPCLIENT-1984: Add normalize URI to RequestConfig copy constructor
Oleg Kalnichevski [Tue, 2 Apr 2019 10:22:53 +0000 (12:22 +0200)]
Merge branch 'HTTPCLIENT-1976' into 4.5.x
Artem Smotrakov [Tue, 2 Apr 2019 10:16:03 +0000 (12:16 +0200)]
HTTPCLIENT-1976: Unsafe deserialization in DefaultHttpCacheEntrySerializer
Oleg Kalnichevski [Sat, 30 Mar 2019 09:35:49 +0000 (10:35 +0100)]
Upgraded HttpClient version to 4.5.9-SNAPSHOT
Oleg Kalnichevski [Mon, 25 Mar 2019 15:32:06 +0000 (16:32 +0100)]
Merge branch 'release-preparation' into 4.5.x
Oleg Kalnichevski [Mon, 25 Mar 2019 14:50:42 +0000 (15:50 +0100)]
TLS_KRB5_EXPORT_WITH_RC4_40_SHA cipher and TLSv1.2 cause a deadlock during TLS handshake on Java 1.6. Newer JREs do not seem to be affected.
Oleg Kalnichevski [Mon, 25 Mar 2019 14:20:25 +0000 (15:20 +0100)]
Updated release notes for HttpClient 4.5.8 release
Oleg Kalnichevski [Mon, 18 Mar 2019 08:16:56 +0000 (09:16 +0100)]
Merge pull request #143 from gknapowski/4.5.x
Changed route tracking of proxy to not default to false
Greg Knapowski [Wed, 13 Mar 2019 02:42:28 +0000 (21:42 -0500)]
Changed route tracking of proxy to not default to false and instead to
use the routes secure value and not Tunneling. This allow secure routes
to proxies and not tunnel/CONNECT.
Oleg Kalnichevski [Tue, 5 Mar 2019 16:02:32 +0000 (17:02 +0100)]
Merge pull request #140 from artem-smotrakov/filter-weak-ciphers
HTTPCLIENT-1969: Filter out weak cipher suites
Artem Smotrakov [Fri, 1 Mar 2019 16:49:17 +0000 (17:49 +0100)]
HTTPCLIENT-1969: Filter out weak cipher suites
Oleg Kalnichevski [Tue, 19 Feb 2019 08:27:04 +0000 (09:27 +0100)]
Merge pull request #137 from ok2c/HTTPCLIENT-1968
URIBuilder and URIUtils improvements
Oleg Kalnichevski [Mon, 18 Feb 2019 09:05:03 +0000 (10:05 +0100)]
Merge pull request #139 from asutosh936/HTTPCLIENT-1891
HTTPCLIENT-1891
asutosh936 [Mon, 18 Feb 2019 01:11:25 +0000 (19:11 -0600)]
HTTPCLIENT-1891 : Upgraded commons-codec version to 1.11
Oleg Kalnichevski [Sat, 16 Feb 2019 14:29:47 +0000 (15:29 +0100)]
HTTPCLIENT-1968: Fixed incorrect @since annotations
Oleg Kalnichevski [Sat, 16 Feb 2019 12:27:25 +0000 (13:27 +0100)]
HTTPCLIENT-1968: Fixed broken API compatibility with 4.4
Oleg Kalnichevski [Sat, 16 Feb 2019 12:20:46 +0000 (13:20 +0100)]
HTTPCLIENT-1968: Preserve escaped PATHSAFE characters when normalizing URI path segments
Oleg Kalnichevski [Sat, 16 Feb 2019 00:35:45 +0000 (01:35 +0100)]
DefaultRedirectStrategy to use URIUtils#normalizeSyntax method to normalize redirect location URI
Oleg Kalnichevski [Sat, 16 Feb 2019 00:17:11 +0000 (01:17 +0100)]
URI normalization code to use URLEncodedUtils#parsePathSegments method to split path segments
Oleg Kalnichevski [Fri, 15 Feb 2019 17:36:45 +0000 (18:36 +0100)]
HTTPCLIENT-1968: URIBuilder to split path component into path segments when digesting a URI (ported from HttpCore master)
Oleg Kalnichevski [Fri, 15 Feb 2019 21:59:40 +0000 (22:59 +0100)]
Improved cache key generation (ported from HttpCore master)
Oleg Kalnichevski [Fri, 15 Feb 2019 15:36:15 +0000 (16:36 +0100)]
HTTPCLIENT-1968: added utility methods to parse and format URI path segments (ported from HttpCore master)
Oleg Kalnichevski [Sat, 16 Feb 2019 10:55:29 +0000 (11:55 +0100)]
Merge pull request #136 from cstamas/HTTPCLIENT-1968
HTTPCLIENT-1968
Tamas Cservenak [Sat, 16 Feb 2019 10:50:11 +0000 (11:50 +0100)]
HTTPCLIENT-1968: Make normalization of URI paths optional
Make it driven by RequestConfig.
Oleg Kalnichevski [Sat, 16 Feb 2019 10:35:51 +0000 (11:35 +0100)]
Merge pull request #138 from ok2c/bug-fixes
Test code improvement
Oleg Kalnichevski [Sat, 16 Feb 2019 10:26:38 +0000 (11:26 +0100)]
Tweaked expected exception check in FutureRequestExecutionService test (ported from HttpClient master)
Oleg Kalnichevski [Thu, 7 Feb 2019 18:17:36 +0000 (19:17 +0100)]
Merge branch 'PR-134' into 4.5.x