Gary D. Gregory
38ac1e3a46
Remove duplication of managed version 0.11 for apache-rat-plugin.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794460 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:38 +02:00
Gary D. Gregory
05a547c115
Update tests from Mockito 1.9.5 to 1.10.19. Tests pass on Oracle Java 1.6.0_45 and Maven 3.0.5.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794459 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:38 +02:00
Gary D. Gregory
6f81c7ed41
Update tests from Mockito 1.8.5 to 1.9.5. Tests pass on Oracle Java 1.6.0_45 and Maven 3.0.5.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794458 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:38 +02:00
Gary D. Gregory
f302a7e7e5
[HTTPCLIENT-1850] Update SLF4J from 1.7.6 to 1.7.25.
2017-05-13 11:08:37 +02:00
Gary D. Gregory
9687283526
[HTTPCLIENT-1849] Update JNA from 4.1.0 to 4.4.0.
2017-05-13 11:08:37 +02:00
Gary D. Gregory
53065fb48a
Add missing close() call.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794452 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +02:00
Gary D. Gregory
4c96c3c80a
[HTTPCLIENT-1847] [HTTPCLIENT-1848] Update spymemcached from 2.11.4 to 2.12.3.. Builds like a champ on Maven 3.0.5 and Oracle Java 6 up until the OSGi module which requires Java 7 since the Maven Bundle plugin class is compiled with Java 7. Builds like a champ on Oracle Java 7 and Maven 3.5.0.
2017-05-13 11:08:37 +02:00
Gary D. Gregory
7ca224e327
[HTTPCLIENT-1847] Update Ehcache from 2.6.9 to 2.6.11. Builds like a champ on Oracle Java 6 up until the OSGi module which requires Java 7 since the Maven Bundle plugin class is compiled with Java 7. Builds like a champ on Oracle Java 7.
2017-05-13 11:08:37 +02:00
Gary D. Gregory
59588a2b37
Update parent project from 7 to 8.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1794447 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:08:37 +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
Oleg Kalnichevski
61bf8ba35e
fix cache NFE for big content length
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1790037 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
4aa07e6c51
Add missing '@Override' annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1788707 13f79535-47bb-0310-9956-ffa450edef68
2017-05-13 11:07:09 +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
Karl Wright
44f8924b58
HTTPCLIENT-1834: NTLN auth refactoring; support for MS CredSsp auth
...
Contributed by Radovan Semancik <radovan.semancik at evolveum.com> and Karl Wright <kwright at apache.org>
2017-05-13 11:07:02 +02:00
Karl Wright
a2a581eba1
Fix for HTTPCLIENT-1833
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1787433 13f79535-47bb-0310-9956-ffa450edef68
2017-05-12 21:53:13 +02:00
Gary D. Gregory
7ff6b6c438
[HTTPCLIENT-1817] Add a "Trust All" TrustStrategy implementation.
2017-05-12 21:52:22 +02:00
Gary D. Gregory
4438e47411
Add missing EOL.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1783354 13f79535-47bb-0310-9956-ffa450edef68
2017-02-17 09:09:48 +00:00
Gary D. Gregory
786371d998
[HTTPCLIENT-1816] Update Apache Commons Codec 1.9 to 1.10.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1783352 13f79535-47bb-0310-9956-ffa450edef68
2017-02-17 09:03:50 +00:00
Oleg Kalnichevski
9c26858924
HTTPCLIENT-1810: When path is null or '', URIBuilder.toString() return '' rather than '/'.
...
Contributed by CuiBaosen <baosencumt at 126.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1782238 13f79535-47bb-0310-9956-ffa450edef68
2017-02-08 19:37:31 +00:00
Oleg Kalnichevski
ef95068aef
Upgraded HttpClient version to 4.5.4-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1780344 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 09:53:49 +00:00
Oleg Kalnichevski
99bbc7755b
Updated release notes for HttpClient 4.5.3 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779740 13f79535-47bb-0310-9956-ffa450edef68
2017-01-21 15:34:10 +00:00
Oleg Kalnichevski
7a4f0f728a
Removed obsolete script
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779739 13f79535-47bb-0310-9956-ffa450edef68
2017-01-21 15:34:03 +00:00
Oleg Kalnichevski
0554271750
HTTPCLIENT-1803: Improved handling of malformed paths by URIBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779735 13f79535-47bb-0310-9956-ffa450edef68
2017-01-21 14:43:44 +00:00
Oleg Kalnichevski
6e4759800f
HTTPCLIENT-1802: Do not attempt to match SSL host to subject CN if subject alternative name of any type are given
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1779668 13f79535-47bb-0310-9956-ffa450edef68
2017-01-20 19:20:31 +00:00
Oleg Kalnichevski
b88ab92f7b
HTTPCLIENT-1788: RFC 6265 policy must not reject cookies with paths that are no prefix of the uri path
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778459 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 19:20:44 +00:00
Oleg Kalnichevski
75f7b398ea
HTTPCLIENT-1777: fixed binary compatibility with 4.4
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778410 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:07:41 +00:00
Oleg Kalnichevski
bc5d688a4f
HTTPCLIENT-1792: SSLConnectionSocketFactory to throw SSLPeerUnverifiedException with a better error message when hostname verification fails
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778409 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:07:29 +00:00
Oleg Kalnichevski
13810dd84c
Upgraded HttpCore to version 4.4.6
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1778408 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:07:05 +00:00
Oleg Kalnichevski
e8002ae3b9
HTTPCLIENT-1800: wrap redirect around retry in execChain
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1777766 13f79535-47bb-0310-9956-ffa450edef68
2017-01-07 11:30:28 +00:00
Oleg Kalnichevski
0514407d8c
Upgraded HttpCore to version 4.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1770506 13f79535-47bb-0310-9956-ffa450edef68
2016-11-19 16:40:54 +00:00
Julian Sedding
db671e6ef0
HTTPCLIENT-1782: [OSGi] List of tracked HTTPClients is mutable but not thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1763284 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 14:41:07 +00:00
Julian Sedding
1c004a4870
HTTPCLIENT-1779: [OSGi] support NTLM proxy authentication
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1763279 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 14:01:06 +00:00
Julian Sedding
2838281a10
HTTPCLIENT-1778: [OSGi] simplify handling of ManagedService based configurations
...
- simplify ProxyConfiguration handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1763268 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 12:00:00 +00:00
Julian Sedding
a388462654
HTTPCLIENT-1777: [OSGi] remove duplication between OSGiClientBuilderFactory and OSGiCachingClientBuilderFactory
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1763267 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:59:47 +00:00
Julian Sedding
85786663ea
HTTPCLIENT-1773: [OSGi] HttpProxyConfigurationActivator does not unregister HttpClientBuilderFactory
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1762930 13f79535-47bb-0310-9956-ffa450edef68
2016-09-30 16:07:23 +00:00
Julian Sedding
b99a5138cc
HTTPCLIENT-1772: [OSGi] WeakList needs to support "clear" method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1762913 13f79535-47bb-0310-9956-ffa450edef68
2016-09-30 14:08:12 +00:00
Oleg Kalnichevski
07fe1b7cdb
HTTPCLIENT-1771: improve OSGi webconsole display for org.apache.http.proxyconfigurator
...
Contributed by Julian Sedding <jsedding at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1762114 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:52:15 +00:00
Oleg Kalnichevski
baf7e10e78
HTTPCLIENT-1770: OSGi metatype for org.apache.http.proxyconfigurator missing factoryPid
...
Contributed by Julian Sedding <jsedding at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1762113 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:52:03 +00:00
Oleg Kalnichevski
49fee5cf4e
HTTPCLIENT-1767: Null pointer dereference in EofSensorInputStream and ResponseEntityProxy
...
EofSensorInputStream is generating NullPointerExceptions in some rare situations. This commit fixes that behaviour for the check methods by dereferencing the instance variable to a final local variable to ensure that if it is not null at the null guard, that it will be not null after that point also to successfully close/abort the stream
In some rare cases, null parameters are sent to ReponseEntityProxy methods, this adds checks on those to ensure that the connections are still released, but the null variable is not dereferenced.
Contributed by Peter Ansell <p_ansell@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1760586 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 18:33:02 +00:00
Oleg Kalnichevski
8b5642ae92
Support changing system default ProxySelector
...
Contributed by Robin Stevens <stevensro at gmail.com>
The `ProxySelectorRoutePlanner` class which got deprecated in favor of the `SystemDefaultRoutePlanner` could deal with:
- `null` as default `ProxySelector`
- a change in the default `ProxySelector`
This change ports that behavior to the `SystemDefaultRoutePlanner`.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1758107 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 13:03:02 +00:00
Oleg Kalnichevski
7870698373
Typo in comment
...
Contributed by Robin Stevens <stevensro at gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1758105 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 12:47:29 +00:00
Oleg Kalnichevski
f638eec16b
All services registered in the OSGi service registry provide the whole bundle header dictionary as vendor property value.
...
Contributed by Christoph Fiehe <christoph.fiehe at materna.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1756279 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:40:07 +00:00
Oleg Kalnichevski
d2b106f8a0
HTTPCLIENT-1760: added protected methods to enumerate leased and available connections to PoolingHttpClientConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1756277 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:28:07 +00:00
Oleg Kalnichevski
6e4a1bbbf1
HTTPCLIENT-1750: OSGi support for CachingHttpClientBuilder
...
Contributed by Justin Edelson <justin at justinedelson.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4.5.x@1747904 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 15:54:55 +00:00