Commit Graph

2608 Commits

Author SHA1 Message Date
Oleg Kalnichevski 196ac3f328 Re-designed hostname verification API and rewritten implementation code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618698 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 18:39:33 +00:00
Oleg Kalnichevski 7c33892b02 Use RFC2253 encoded cert subject
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618566 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 09:26:19 +00:00
Oleg Kalnichevski 1894418915 HTTPCLIENT-1542: Caching HttpClient uses absolute URIs for validation (follow-up patch, more tests)
Based on contribution by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618558 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:55:10 +00:00
Oleg Kalnichevski 8c85040d3e Catch Exception instead of Throwable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618553 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:39:26 +00:00
Oleg Kalnichevski c694717040 HTTPCLIENT-1545: Possible infinite loop when WindowsNegotiateScheme authentication fails
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618551 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 07:38:44 +00:00
Oleg Kalnichevski e8dbce5f9b HTTPCLIENT-1544: Fixed NPE in ResponseProcessCookies when running with DEBUG priority
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618328 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:06:55 +00:00
Oleg Kalnichevski 683bb070fd HTTPCLIENT-1542: Caching HttpClient uses absolute URIs for validation
Based on contribution by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618324 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 10:51:35 +00:00
Oleg Kalnichevski d5e17d7ec0 HTTPCLIENT-1540: Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth (updated release notes)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618167 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 12:51:32 +00:00
Oleg Kalnichevski 2b302e050a HTTPCLIENT-1540: Support delegated credentials (ISC_REQ_DELEGATE) via ClientWinAuth
Contributed by Ka-Lok Fung <ka-lok.fung at sap.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1618165 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 12:37:37 +00:00
Oleg Kalnichevski f55bdec7c8 Ddded Patch request support to HC fluent
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617683 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 08:32:07 +00:00
Oleg Kalnichevski 93a2264d5f HTTPCLIENT-1537: OSGi metadata contains invalid default proxy port value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617283 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:39:24 +00:00
Oleg Kalnichevski 3df564f0c6 CookieNetscapeDraft to ignore Version and Max-Age attributes; BrowserCompatSpec to reset cookie version to 0 for Neetscape style cookies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617278 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:32:46 +00:00
Oleg Kalnichevski f955504b33 Deprecated CloseableHttpResponseProxy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617274 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:23:55 +00:00
Oleg Kalnichevski caae4ef049 HTTPCLIENT-1538 : monitor contention in deprecated code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1617273 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 13:23:40 +00:00
Oleg Kalnichevski f5bf414adc Deprecated X509HostnameVerifier interface in favor of standard javax.net.ssl.HostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616758 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 14:00:55 +00:00
Oleg Kalnichevski 80b0014754 Reverted r1616137, r1616136, r1615900
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616688 13f79535-47bb-0310-9956-ffa450edef68
2014-08-08 08:30:01 +00:00
Sebastian Bazley d5a4d66890 copy fixes made to original in r1616430
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616532 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 16:43:37 +00:00
Oleg Kalnichevski 262fec5203 HTTPCLIENT-1535: Permit other addresses to be tried in the event of a NoRouteToHostException. e.g. when there one of the addresses to be used is an ipv6 address when the client does not have an ipv6 route to that particular host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616239 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 14:14:45 +00:00
Oleg Kalnichevski 0bc123c992 Replaced LdapName with custom DN parser
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616137 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 09:29:58 +00:00
Oleg Kalnichevski 95953f857e Custom distingushed name parser
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1616136 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 09:29:39 +00:00
Oleg Kalnichevski 6c4f30fc4d HTTPCLIENT-1536: default connection operator to use HttpHost#getAddress if available
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1615915 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 11:53:55 +00:00
Oleg Kalnichevski f3e67f807c Made package private copy of TokenParser until provided by HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1615900 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 09:39:54 +00:00
Oleg Kalnichevski 2ad9a219de Code clean; renamed some package private methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614354 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 13:56:10 +00:00
Oleg Kalnichevski 770285d505 Catch and ignore NoSuchElementException when accessing CN attribute of a subject principal
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614270 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 07:13:54 +00:00
Oleg Kalnichevski 0852f1b4d8 Improved cert subject parsing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1614065 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:57:36 +00:00
Oleg Kalnichevski 4216fc1f10 HTTPCLIENT-1531: CONNECT via proxy fails if authentication is disabled
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1612816 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 11:54:17 +00:00
Gary D. Gregory 9e4c8332f8 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1612086 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 13:42:19 +00:00
Oleg Kalnichevski ca956c1b90 HTTPCLIENT-1527: fixed HttpCore OSGi imports
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1610616 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 08:18:03 +00:00
Oleg Kalnichevski d7c64ee9c0 HTTPCLIENT-1526: No User-Agent set in tunneled proxy connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1610598 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 07:10:50 +00:00
Oleg Kalnichevski 7284afbe71 HTTPCLIENT-1517: strip port and optionaly use canonical hostname when creating kerberos / gssapi context
Contributed by Sebastian Brabänder <apache-devel at brabaender-it.de>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1610401 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 12:32:42 +00:00
Oleg Kalnichevski 8ed2196cd7 HTTPCLIENT-1524: RFC 2617 auth schemes (basic and digest) cannot handle auth parameters with mixed or upper case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606699 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 11:55:46 +00:00
Oleg Kalnichevski dbf7a77171 Added new functionality to the pooling conn manager introduced by HTTPCORE-374
Contributed by Dmitry Potapov <potapov.d at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606665 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 10:12:31 +00:00
Oleg Kalnichevski d20886cd56 Upgraded HttpClient version to 4.4-alpha2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606643 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 08:20:31 +00:00
Sebastian Bazley a3b9c1720b Typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606416 13f79535-47bb-0310-9956-ffa450edef68
2014-06-29 02:11:30 +00:00
Oleg Kalnichevski d9cc6c8879 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1606188 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 19:30:09 +00:00
Sebastian Bazley 4c89604863 A single trailing space breaks the build ...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604913 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 19:32:43 +00:00
Sebastian Bazley 899c7c8046 More doc on connection checking
Fix bug in Javadoc - default is now false.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604897 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:18:03 +00:00
Sebastian Bazley 80cf0fec6e Document stale connection strategy change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604896 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 18:10:21 +00:00
Sebastian Bazley 41afff3f2a Tab police
Though I had found all the tab generators in Eclipse ...

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604894 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:49:50 +00:00
Sebastian Bazley 4006d7e4f2 Add TODOs for code that needs looking at
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604892 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:46:29 +00:00
Sebastian Bazley a80b4533b3 Avoid unused warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:44:20 +00:00
Sebastian Bazley c6113729e2 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604884 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:18:33 +00:00
Sebastian Bazley 0490cdd679 Add dummy SVUIID
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604883 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 17:17:55 +00:00
Oleg Kalnichevski 51f7fe36f8 Updated release notes for HttpClient 4.4-alpha1 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:14:19 +00:00
Oleg Kalnichevski 6d2579d5ce Updated building instructions: added Windows native module and raised minimal Java to 1.6
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604774 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:14:07 +00:00
Oleg Kalnichevski f265f7b617 HTTPCLIENT-1480: convenience methods for HC fluent to set auth hosts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604773 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:13:52 +00:00
Oleg Kalnichevski c5c0bc6801 HTTPCLIENT-1493: Indiscriminate connection checking has been deprecated in favor of conditional connection state validation. Persistent connections are to be re-validated only after a defined period inactivity prior to being leased to the consumer.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1604772 13f79535-47bb-0310-9956-ffa450edef68
2014-06-23 12:13:35 +00:00
Gary D. Gregory 0700b14d6a Javadoc fixes for Java 8. Replace "<tt>Foo</tt>" with "{@code Foo}".
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603933 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 15:45:42 +00:00
Oleg Kalnichevski 3269410866 Makes no sense to me but hope it will make VMWare happy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603773 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 09:17:53 +00:00
Oleg Kalnichevski 8ad27884ef HTTPCLIENT-1520: project license link to refer to http://www.apache.org/licenses/LICENSE-2.0.txt
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1603761 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 08:48:34 +00:00