Commit Graph

1027 Commits

Author SHA1 Message Date
Sebastian Bazley 99727816af Fix indentation - no code change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1653970 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 17:40:44 +00:00
Oleg Kalnichevski 083aeaf14f Typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1653042 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 16:25:34 +00:00
Oleg Kalnichevski 939c69d378 Added example demonstrating how to use a custom public suffix list
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1652161 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 16:28:34 +00:00
Oleg Kalnichevski bc2b4930bd HTTPCLIENT-1595: respect SSL protocols disabled by default by the provider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1650758 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 15:50:04 +00:00
Oleg Kalnichevski a0dee0cb50 Conciser debug logging of cert peer and issuer alternative names
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1650756 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 15:39:55 +00:00
Oleg Kalnichevski d16152c10f RequestBuilder add Patch support
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1650292 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 14:04:04 +00:00
Oleg Kalnichevski 529e1373a5 HttpClientBuilder comment fix
Fixed comments of setTargetAuthenticationStrategy and setProxyAuthenticationStrategy methods.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1650006 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 08:14:23 +00:00
Oleg Kalnichevski 65ebd91590 Improved domain root matching by default HostnameVerifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1649507 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 11:54:31 +00:00
Oleg Kalnichevski 5f6bdd43f9 SSL session debug logs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1648917 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 18:53:31 +00:00
Oleg Kalnichevski 2aecfef8fa Simplified test SSL context initialization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1648507 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 11:34:28 +00:00
Oleg Kalnichevski 1f3d34b6bd InternalHttpClient class to implement Configurable (per request of Spring folks)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647755 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 09:44:05 +00:00
Oleg Kalnichevski f114594c6f Do not include obsolete Cookie2 request header by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647647 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:03:27 +00:00
Oleg Kalnichevski 46613dfcdc Fixed binary compatibility with 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647646 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:03:14 +00:00
Oleg Kalnichevski 6921c08154 More efficient URL encoded content parser implementation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647645 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:03:04 +00:00
Oleg Kalnichevski c4f47f3489 Use RFC 6265 cookie spec as standard policy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647644 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:02:53 +00:00
Oleg Kalnichevski cd41e8998d Marked Cookie API methods obsoleted by RFC 6265 with @Obsolete annotation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1647643 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:02:41 +00:00
Oleg Kalnichevski 70489c4bb0 RFC 6265 compliant cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1646864 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 20:59:42 +00:00
Oleg Kalnichevski e767d59e5d HTTPCLIENT-1588: code optimization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1644166 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 20:20:18 +00:00
Oleg Kalnichevski 4e4424a584 Corrected handling of cookie attributes with null value
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1644165 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 20:20:06 +00:00
Sebastian Bazley dd354a8ba5 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1644081 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 15:13:09 +00:00
Oleg Kalnichevski babafa8c41 HTTPCLIENT-1585: SSLContextBuilder to preserve natural order of trust / key managers when loading trust / ket material from multiple sources
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1644005 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 09:27:58 +00:00
Oleg Kalnichevski 5a192e2bf4 HTTPCLIENT-1583: optional connection eviction thread for non-shared connection managers to pro-actively evict expired / idle persistent connections from the connection pool
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1643671 13f79535-47bb-0310-9956-ffa450edef68
2014-12-07 12:42:19 +00:00
Michael Osipov ccbf517475 HTTPCLIENT-1567: Update SPNEGO scheme name to 'Negotiate'
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639801 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 22:29:45 +00:00
Michael Osipov 2489d1df66 HTTPCLIENT-1568: Improve docs on AuthSchemes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639776 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 19:59:40 +00:00
Michael Osipov 3b5df666a9 HTTPCLIENT-1567: Update SPNEGO scheme name to 'Negotiate'
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639771 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 19:51:35 +00:00
Oleg Kalnichevski ec9afb1a1a HTTPCLIENT-1575: HttpRoute constructor to resolve default target port (-1) based on standard scheme port convention (http -> 80, https -> 443); to be removed in 5.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1639698 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 16:47:00 +00:00
Oleg Kalnichevski 1964e9530a HTTPCLIENT-1575: Disallow HttpRoute instances with default (-1) port
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1638138 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 15:09:48 +00:00
Oleg Kalnichevski 114a5bf4ab Disable all versions of SSL protocol by default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1632979 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 19:20:56 +00:00
Oleg Kalnichevski f6fed403fa Fixed disabled test case and removed broken one in TestSSLSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631243 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 19:05:16 +00:00
Oleg Kalnichevski 8a7586336d Restored test case deleted by mistake
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 18:55:33 +00:00
Oleg Kalnichevski 2c0bf9ac10 Use SSLContextBuilder from HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631230 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 17:43:08 +00:00
Oleg Kalnichevski 4c9577a08f Do not run public suffix test on simple host names (non DNS names)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631106 13f79535-47bb-0310-9956-ffa450edef68
2014-10-11 20:01:33 +00:00
Oleg Kalnichevski 66a1b7055c Use absolute path to public-suffix-list.txt resource
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631102 13f79535-47bb-0310-9956-ffa450edef68
2014-10-11 19:21:43 +00:00
Oleg Kalnichevski 3d2fcba7e5 HTTPCLIENT-1565: ClientExecuteSOCKS example doesn't specify the context while making the request
Contributed by Rohit Agarwal <mindprince at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1631053 13f79535-47bb-0310-9956-ffa450edef68
2014-10-11 15:06:07 +00:00
Oleg Kalnichevski 526a8c51fc HTTPCLIENT-1556: Default CookieSpecs provider not found for AbstractHttpClient subclass
Contributed by Timo Kinnunen <timo.kinnunen at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1629134 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 08:14:29 +00:00
Oleg Kalnichevski b47a2333bf HTTPCLIENT-1557: minor code improvements
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1629130 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 07:58:47 +00:00
Oleg Kalnichevski de48ae0c85 Upgraded HttpClient version to 4.4-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1627720 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 07:38:00 +00:00
Oleg Kalnichevski 0f227fa940 Added optional parameters for content length strategies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1627507 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 10:50:48 +00:00
Oleg Kalnichevski 1d09a8308f Use non-zero connect timeout as SSL handshake handshake (socket) timeout if not explicitly set by the caller (socket timeout is zero)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1626782 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 14:10:17 +00:00
Oleg Kalnichevski 4c20cf5398 Fixed javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1626738 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 11:37:54 +00:00
Oleg Kalnichevski 0739770c15 NetscapeDraftHeaderParser to use TokenParser from core internally
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1626680 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 07:33:12 +00:00
Oleg Kalnichevski 90c97da9b8 Upgraded HttpCore to version 4.4-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1626679 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 07:32:54 +00:00
Oleg Kalnichevski 061f150ab1 Fixed IllegalArgumentException in URIUtils#extractHost thrown in case of host name containing blanks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1625255 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 12:07:44 +00:00
Oleg Kalnichevski fe876f9656 HTTPCLIENT-1380: more informative exception message
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1624971 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 08:32:29 +00:00
Oleg Kalnichevski 3f637807f6 HTTPCLIENT-1525: fixed inconsistent debug log
Contributed by Joseph Walton <joe at kafsemo.org>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1624969 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 08:31:28 +00:00
Oleg Kalnichevski 9af96d03ff Removed deprecated test code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623736 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:08:38 +00:00
Oleg Kalnichevski abe50fafe4 HttpClientBuilder to initialize public suffix matcher for cookie specs and the default hostname verifier
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623735 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:06:43 +00:00
Oleg Kalnichevski a4c0c6ed7c Default and standard cookie specs to use public suffix list when available
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623734 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:06:29 +00:00
Oleg Kalnichevski d568ebdbf3 Initialize singleton cookie specs lazily
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623733 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 10:06:14 +00:00
Oleg Kalnichevski 4478df7a70 Added public suffix list loader
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1623462 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 19:06:02 +00:00