Oleg Kalnichevski
cea5b2697b
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/trunk@1779669 13f79535-47bb-0310-9956-ffa450edef68
2017-01-20 19:21:10 +00:00
Oleg Kalnichevski
4d180773db
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/trunk@1778460 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 19:21:03 +00:00
Oleg Kalnichevski
09bee18bd6
Use extended HostnameVerifier interface that propagates detailed exception in case of hostname verification failure when available
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1778412 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:09:04 +00:00
Oleg Kalnichevski
903c701ef6
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/trunk@1778411 13f79535-47bb-0310-9956-ffa450edef68
2017-01-12 10:08:41 +00:00
Oleg Kalnichevski
aaf638b1d5
HTTPCLIENT-1800: wrap redirect around retry in execChain
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1777769 13f79535-47bb-0310-9956-ffa450edef68
2017-01-07 11:39:15 +00:00
Oleg Kalnichevski
1da6fc21ed
Moved connection pool construction logic out of HttpClientBuilder into a separate builder class
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1777768 13f79535-47bb-0310-9956-ffa450edef68
2017-01-07 11:38:46 +00:00
Oleg Kalnichevski
e48091da3d
Upgraded HttpCore to version 5.0-alpha2; Upgraded to the latest 5.0 APIs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1776187 13f79535-47bb-0310-9956-ffa450edef68
2016-12-27 19:48:07 +00:00
Gary D. Gregory
b85a51b868
Update parent POM from 7 to 8.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1772287 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 22:53:58 +00:00
Gary D. Gregory
3959ca314d
Add Travis CI.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1771371 13f79535-47bb-0310-9956-ffa450edef68
2016-11-25 19:30:17 +00:00
Gary D. Gregory
2ced8b5800
Update Apache RAT from 0.11 to 0.12.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767543 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 18:25:08 +00:00
Gary D. Gregory
afb3908d2e
Allow for checkstyle oddity.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767398 13f79535-47bb-0310-9956-ffa450edef68
2016-11-01 01:21:33 +00:00
Gary D. Gregory
278257e26a
These private ivars can be final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767394 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 23:30:15 +00:00
Gary D. Gregory
8ab600bc2a
Add missing @Override annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767393 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 23:29:01 +00:00
Gary D. Gregory
fd412e7bf1
[HTTPCLIENT-1786] Port from Apache Commons Logging to Apache Log4j 2.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767391 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 23:24:37 +00:00
Gary D. Gregory
f44544ec3c
Add missing EOL.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1767388 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 23:06:58 +00:00
Julian Sedding
2a1617b5f0
HTTPCLIENT-1782: [OSGi] List of tracked HTTPClients is mutable but not thread-safe
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763285 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 14:41:23 +00:00
Julian Sedding
cee2500491
HTTPCLIENT-1779: [OSGi] support NTLM proxy authentication
...
- cleanup
- align filename spelling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763278 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 14:00:32 +00:00
Julian Sedding
6ca80b650e
HTTPCLIENT-1779: [OSGi] support NTLM proxy authentication
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763275 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 13:02:26 +00:00
Julian Sedding
71d0567376
HTTPCLIENT-1778: [OSGi] simplify handling of ManagedService based configurations
...
- simplify TrustedHostsConfiguration handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763263 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:36 +00:00
Julian Sedding
e9f8c5b315
HTTPCLIENT-1778: [OSGi] simplify handling of ManagedService based configurations
...
- simplify ProxyConfiguration handling
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763261 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:27 +00:00
Julian Sedding
c08880c2c6
HTTPCLIENT-1777: [OSGi] remove duplication between OSGiClientBuilderFactory and OSGiCachingClientBuilderFactory
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1763260 13f79535-47bb-0310-9956-ffa450edef68
2016-10-04 11:29:17 +00:00
Julian Sedding
4918d66253
HTTPCLIENT-1772: [OSGi] WeakList needs to support "clear" method
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1762912 13f79535-47bb-0310-9956-ffa450edef68
2016-09-30 14:02:33 +00:00
Oleg Kalnichevski
faf00d87f6
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/trunk@1762116 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:53:10 +00:00
Oleg Kalnichevski
3ca9ff6a1b
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/trunk@1762115 13f79535-47bb-0310-9956-ffa450edef68
2016-09-24 08:52:30 +00:00
Oleg Kalnichevski
28a6d5c481
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>
Conflicts:
httpclient5/src/main/java/org/apache/hc/client5/http/impl/sync/ResponseEntityProxy.java
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1760585 13f79535-47bb-0310-9956-ffa450edef68
2016-09-13 18:32:38 +00:00
Oleg Kalnichevski
f779a4b65d
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/trunk@1758106 13f79535-47bb-0310-9956-ffa450edef68
2016-08-28 13:02:35 +00:00
Gary D. Gregory
a24b592e87
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757448 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:27:27 +00:00
Gary D. Gregory
1aff9e9220
Use final.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757447 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:27:14 +00:00
Gary D. Gregory
90d29f6d46
Ignore Eclipse bin folder.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757446 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:26:58 +00:00
Gary D. Gregory
df62fd9b78
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757443 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:10:02 +00:00
Gary D. Gregory
ade60972a9
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757442 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:09:21 +00:00
Gary D. Gregory
8ae245e282
Svn Ignore Eclipse .checkstyle file.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1757441 13f79535-47bb-0310-9956-ffa450edef68
2016-08-23 22:08:49 +00:00
Oleg Kalnichevski
4046b8fdcc
HTTPCLIENT-1748: Improved compatibility with system authentication API in applets
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1756293 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 19:55:43 +00:00
Oleg Kalnichevski
1d6d8ae8c2
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/trunk@1756280 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:40:23 +00:00
Oleg Kalnichevski
1b9c13afa9
HTTPCLIENT-1760: added protected methods to enumerate leased and available connections to PoolingHttpClientConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1756278 13f79535-47bb-0310-9956-ffa450edef68
2016-08-13 15:30:27 +00:00
Simone Tripodi
57bb51812e
HTTPCLIENT-1752 - Allow to configure the OSGI clients with relaxed SSL checks
...
metatype description aligned to javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1754135 13f79535-47bb-0310-9956-ffa450edef68
2016-07-26 14:32:16 +00:00
Simone Tripodi
c08b6349a5
HTTPCLIENT-1752 - Allow to configure the OSGI clients with relaxed SSL checks
...
initial check-in, GitHub pull request (https://github.com/apache/httpclient/pull/56 ) accepted
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1754122 13f79535-47bb-0310-9956-ffa450edef68
2016-07-26 12:42:27 +00:00
Gary D. Gregory
472dce0199
Better build instructions.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1749366 13f79535-47bb-0310-9956-ffa450edef68
2016-06-20 17:02:31 +00:00
Oleg Kalnichevski
3c53d69077
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/trunk@1747906 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 15:55:28 +00:00
Oleg Kalnichevski
58a14cc020
HTTPCLIENT-1749: OSGi client builder to use weak references to track HttpClient instances
...
Contributed by Justin Edelson <justin at justinedelson.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1747905 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 15:55:15 +00:00
Oleg Kalnichevski
8081dbdc02
HTTPCLIENT-1746: improved argument validation in URLEncodedUtils
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1746751 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:37:33 +00:00
Oleg Kalnichevski
da589ff03a
HTTPCLIENT-1736: do not request cred delegation by default when using Kerberos auth
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1746746 13f79535-47bb-0310-9956-ffa450edef68
2016-06-03 19:19:39 +00:00
Oleg Kalnichevski
da8e60b2a4
Cleaned up comments
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1745907 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 17:00:08 +00:00
Oleg Kalnichevski
facf463c44
HTTPCLIENT-1744: normalize hostname and certificate CN when matching to CN
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1745906 13f79535-47bb-0310-9956-ffa450edef68
2016-05-28 16:59:23 +00:00
Oleg Kalnichevski
e6c051ee1b
HTTPCLIENT-1732: SystemDefaultCredentialsProvider to take http.proxyHost and http.proxyPort system properties into account
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1737484 13f79535-47bb-0310-9956-ffa450edef68
2016-04-02 10:26:11 +00:00
Oleg Kalnichevski
66c5016394
HTTPCLIENT-1730: added #setValidateAfterInactivity to HttpClientBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1736237 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 19:28:09 +00:00
Oleg Kalnichevski
055030c9f2
HTTPCLIENT-1730: javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1736193 13f79535-47bb-0310-9956-ffa450edef68
2016-03-22 14:06:47 +00:00
Gary D. Gregory
52c68d6a4f
Comment empty blocks.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1733182 13f79535-47bb-0310-9956-ffa450edef68
2016-03-01 22:53:05 +00:00
Oleg Kalnichevski
129fc09f42
HTTPCLIENT-1718, HTTPCLEINT-1719: credentials fix to allow proxy authetication
...
Contributed by 212427891 <munene.kiruja at ge.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1730838 13f79535-47bb-0310-9956-ffa450edef68
2016-02-17 14:00:52 +00:00
Gary D. Gregory
8e8cfc41ad
[HTTPCLIENT-1717] Make fluent API .Content.Content(byte[], ContentType) public.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1728788 13f79535-47bb-0310-9956-ffa450edef68
2016-02-06 03:10:00 +00:00