Oleg Kalnichevski
681d11e265
HTTPCLIENT-1940: deprecated SSLSocketFactory made to rethrow SocketTimeoutException as ConnectTimeoutException for consistency with non-deprecated code
2018-08-11 20:20:25 +02:00
Mark Mielke
517396df0c
Fix HttpClient 4.5.4 regression in BasicCookieStore serialization.
...
HttpClient 4.5.4 modified BasicCookieStore to introduce a new
ReadWriteLock field to improve performance. Unfortunately this
also changed the serialized data structure, and any objects
serialized using HttpClient 4.5.3 and before would be unusable
after restore in HttpClient 4.5.4 due to the new "lock" field
being null.
The fix is to change "lock" to be transient, and ensure it is
correctly instantiated upon object restore. This restores
compatibility with HttpClient 4.5.3, as well as maintaining
compatible with the intermediate versions containing the
regression. This also avoids unnecessary serialization of
the new "lock" field, which does not need to be persisted.
2018-08-08 06:53:14 -04:00
Gary Gregory
3b4258817a
Remove exceptions not thrown from method signatures. Don't nest
...
unnecessarily.
2018-08-05 11:33:36 -06:00
Gary Gregory
8c3333b4d5
Use "String.isEmpty()" instead of "String.length() == 0"
2018-07-12 09:04:46 -06:00
Oleg Kalnichevski
5fea3e0439
HTTPCLIENT-1927: URLEncodedUtils#parse breaks at double quotes when parsing unquoted values
2018-07-09 10:07:04 +02:00
Oleg Kalnichevski
ce33e88b1d
Upgraded HttpClient version to 4.5.7-SNAPSHOT
2018-07-09 10:03:20 +02:00
Oleg Kalnichevski
1480958ce7
HttpClient 4.5.6 release
2018-07-05 13:39:40 +02:00
Oleg Kalnichevski
060cf48d4b
HTTPCLIENT-1882: reset authentication state on I/O or runtime error for connection based authentication schemes (such as NTLM)
2018-07-04 14:40:14 +02:00
Oleg Kalnichevski
ca98ad69ad
HTTPCLIENT-1924: HttpClient to shut down the connection manager if a fatal error occurs in the course of a request execution
2018-06-16 10:34:00 +02:00
Varun Nandi
7c193f6141
Add Automatic-Module-Name in manifest so Java9 modular applications can depend on this library
2018-06-07 10:46:31 -07:00
Aleksei Arsenev
eb27f9ee29
HTTPCLIENT-1923: fixed incorrect connection close on shutdown + fixed corresponding test
2018-05-11 14:21:30 +02:00
Gary Gregory
460b60607d
[HTTPCLIENT-1911] Failing tests on Fedora 28 due to weak encryption
...
algorithms in test keystore.
2018-03-20 17:50:56 -06:00
Oleg Kalnichevski
b1e09f37ae
HTTPCLIENT-1906: certificates containing alternative subject names other than DNS and IP (such as RFC822) get rejected as invalid
2018-02-26 15:10:00 +01:00
Hans-Peter Keck
c215bc7bb5
HTTPCLIENT-1904: check cookie domain for null
2018-02-09 10:21:59 +01:00
Oleg Kalnichevski
97b5055cc1
HTTPCLIENT-1900: proxy protocol processor does not post-process CONNECT response messages
2018-01-27 10:21:53 +01:00
Oleg Kalnichevski
6374006e10
Upgraded HttpClient version to 4.5.6-SNAPSHOT
2018-01-22 09:49:22 +01:00
Oleg Kalnichevski
6f4550ff97
HttpClient 4.5.5 release
2018-01-18 13:04:50 +01:00
Oleg Kalnichevski
c1c2e9cc82
Removed classes committed by mistake
2018-01-16 09:51:51 +01:00
Sudheera Palihakkara
e7825a6f13
HTTPCLIENT-1895: added test case for multi-member GZIP content streams (per RFC 1952)
2018-01-11 14:14:48 +01:00
Gary Gregory
1780ab2bf3
[HTTPCLIENT-1889] org.apache.http.client.utils.URLEncodedUtils.parse()
...
should return a new ArrayList when there are no query parameters.
2017-12-15 14:15:49 -07:00
Gary Gregory
817d57a208
Replace use of String.indexOf(String) for strings of length one with
...
indexOf(char)
2017-12-06 09:28:30 -07:00
Oleg Kalnichevski
5bed670873
HTTPCLIENT-1888: Regression in SystemDefaultCredentialsProvider#getCredentials causing NPE
2017-12-05 09:58:27 +01:00
Oleg Kalnichevski
a077bc6ab8
Upgraded HttpClient version to 4.5.5-SNAPSHOT
2017-11-30 11:27:42 +01:00
Oleg Kalnichevski
cd166a737c
HttpClient 4.5.4 release
2017-11-27 10:36:12 +01:00
Oleg Kalnichevski
8c4e081ecd
HTTPCLIENT-1883: SystemDefaultCredentialsProvider to use https.proxy* system properties for origins with port 443
2017-11-26 16:47:29 +01:00
Oleg Kalnichevski
e249943247
HTTPCLIENT-1883: Added https.proxy* to the list of system properties taken into account by HttpClientBuilder
2017-11-26 16:03:06 +01:00
Oleg Kalnichevski
6da7ec2609
Changed test case failing in TravisCI due to what might be a local host name resolution problem
2017-11-25 11:35:01 +01:00
Karl Wright
97eee9e0e0
HTTPCLIENT-1881: Allow truncated NTLM packets to work with this client.
2017-11-18 06:55:59 -05:00
Oleg Kalnichevski
d6db9ab3d0
HTTPCLIENT-1879: re-apply SocketConfig#socketTimeout to connections leased by the pooling and basic connection managers
2017-11-16 20:17:36 +01:00
aleh_struneuski
2e303b854f
HTTPCLIENT-1876. Improve the buildString() method in URIBuilder.
2017-10-25 11:43:12 +02:00
Oleg Kalnichevski
1383e1f781
HTTPCLIENT-1855: disabled caching of DIGEST auth scheme instances due to unreliability of nonce counter when the auth cache is shared by multiple sessions
2017-10-20 11:45:12 +02:00
Oleg Kalnichevski
aa81865776
HTTPCLIENT-1855: Removed code causing unnecessary auth cache updated; Reverted 7e44b96
2017-10-19 20:07:49 +02:00
Gary Gregory
ad606e45bf
Javadoc.
2017-10-04 15:00:20 -06:00
Oleg Kalnichevski
aa0e53cc0c
Removed explicit plugin version declaration (should be inherited from the parent POM)
2017-10-04 11:54:52 +02:00
alessandro.gherardi
7e44b9635e
HTTPCLIENT-1855: Update DIGEST nonce counter in auth cache after auth challenge
2017-10-03 11:41:31 +02:00
Andy Klimczak
5f9a6c01d8
Fix typo in HttpClients.java Javadoc closes #83 .
2017-09-06 14:56:25 -06:00
Carter Kozak
dd4da037c7
BasicCookieStore no longer synchronizes on reads
...
BasicCookieStore uses a ReentrantReadWriteLock to avoid
synchronization on getCookies/toString while maintaining
thread safety.
2017-08-08 14:50:52 +02:00
Oleg Kalnichevski
73ace14858
Fixed javadocs in ResponseContentEncoding
2017-08-01 11:42:07 +02:00
Tomas Celaya
7dfd236dc1
[HTTPCLIENT-1865] DefaultServiceUnavailableRetryStrategy does not
...
respect HttpEntity#isRepeatable.
2017-07-31 18:10:03 -07:00
Gary Gregory
61529d1f88
Checkstyle fixes: Use final and tab police.
2017-07-12 17:29:17 -07:00
Gary Gregory
6156eb1f0f
Add final modifier to private fields.
2017-07-12 17:12:52 -07:00
Gary D. Gregory
ce237ae735
Make this header look like the Java header.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794481 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:38 +02:00
Gary D. Gregory
a54bee2c7e
[HTTPCLIENT-1845]: Extract InputStreamFactory classes out of GzipDecompressingEntity and DeflateDecompressingEntity for reuse and to create less garbage.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794442 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +02:00
Gary D. Gregory
288a91cc54
Replace @exception with the more modern @throws.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1792679 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +02:00
Gary D. Gregory
c58288c9af
[HTTPCLIENT-1836] DefaultHostnameVerifier#getSubjectAltNames(X509Certificate) throws java.lang.ClassCastException.
...
Contributed by Gary Gregory <ggregory at apache.org>, Ilian Iliev <ilian_iliev at yahoo.com>
2017-05-13 11:08:37 +02:00
Gary D. Gregory
54a2fb2662
Statement unnecessarily nested within else clause.
2017-05-13 11:08:25 +02:00
Gary D. Gregory
c5c10f5e9e
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1788706 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
2635028db0
HTTPCLIENT-1835: evictExpiredConnections no longer causes the evictIdleConnections behaviour to be enabled when evictIdleConnections is not explicitly enabled
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1788066 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
d6bfb3df9c
HTTPCLIENT-1830: await termination of the IdleConnectionEvictor when it is shut down
...
Contributed by Liam Williams <liam.williams at zoho.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787980 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00
Oleg Kalnichevski
fe3a913e6b
HTTPCLIENT-1831: URIBuilder should not prepend a leading slash to relative URIs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787739 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +02:00