Commit Graph

731 Commits

Author SHA1 Message Date
Oleg Kalnichevski 7a33d56a69 Fixed race condition in TestFutureRequestExecutionService#shouldExecuteMultipleCallsAndCallback
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491891 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 18:14:10 +00:00
Oleg Kalnichevski ab9452fd98 Fixed client config example
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491802 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 14:10:47 +00:00
Oleg Kalnichevski 656c6ecedc Removed #executeMultiple from FutureRequestExecutionService
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491801 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 14:10:31 +00:00
Oleg Kalnichevski b1c387e986 Style-check to enforce unused import and final variable checks
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1491511 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 15:52:49 +00:00
Gary D. Gregory aa09b30167 [HTTPCLIENT-1366] org.apache.http.client.utils.URLEncodedUtils should parse the semicolon as a query parameter separator. Contributed by Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490331 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 16:00:05 +00:00
Gary D. Gregory cc604018b9 Fix method declaration format from 'method ()' to 'method()'.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:51:15 +00:00
Gary D. Gregory 52ddef91fa [HTTPCLIENT-1365] NPE when ManagedHttpClientConnectionFactory.create(ConnectionConfig) is called with null. Contributed by Gary Gregory <ggregory at apache.org>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490299 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 14:31:08 +00:00
Oleg Kalnichevski f983922157 SchemePortResolver to throw UnsupportedSchemeException in case of an unknown protocol scheme
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1490251 13f79535-47bb-0310-9956-ffa450edef68
2013-06-06 12:16:53 +00:00
Oleg Kalnichevski d04b7baa64 HTTPCLIENT-1362: better error messages for connect timed out and connection refused exceptions (second cut)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489438 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 13:27:02 +00:00
Oleg Kalnichevski eb26f23b3d HTTPCLIENT-1364: added default constructor to NTLMScheme
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489313 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 07:54:32 +00:00
Gary D. Gregory 70e8b48473 Javadoc: TLA should be upper-case.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489243 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:19:25 +00:00
Gary D. Gregory 2fba1839de Match this kind of param name to the other methods in this class (encoding -> charset).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489242 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:18:35 +00:00
Gary D. Gregory 664a273374 Use camel-case for method names (example: urldecode -> urlDecode).
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1489240 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 00:16:28 +00:00
Oleg Kalnichevski bcabf224b8 Removed 'http.socket-factory-registry' context attribute from public APIs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1488984 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 13:16:35 +00:00
Oleg Kalnichevski e34e868ddc HTTPCLIENT-1362: better error messages for connect timed out and connection refused exceptions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1488966 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 11:52:17 +00:00
Karl Wright f0f2c89ffb Fix for HTTPCLIENT-1360. Separate out DeflateInputStream class from DeflateEntity.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487630 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 20:24:37 +00:00
Oleg Kalnichevski b8c0487c91 HTTPCLIENT-1359: repeated requests using the same context fail if they redirect
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487463 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 12:45:31 +00:00
Oleg Kalnichevski 2bd70ff44c HTTPCLIENT-1351: Made URICollection a concrete class; added #clear() method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487448 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 12:18:34 +00:00
Oleg Kalnichevski d917eec043 Removed executable flag
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487414 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:05:37 +00:00
Oleg Kalnichevski eeaec64f5c HTTPCLIENT-1351: Added utility method to resolve final location from original request, target host and a list of redirects
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1487413 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 09:04:54 +00:00
Oleg Kalnichevski 26ee6689f3 HTTPCLIENT-1351: added method to HttpClientContext to obtain redirect locations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486956 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 15:08:31 +00:00
Oleg Kalnichevski 6fad24aef2 HTTPCLIENT-1357: Connection upgrade operation does not resolve default port (-1) to a scheme default value which can lead to a InvalidArgumentException on some platforms
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486900 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 12:14:19 +00:00
Oleg Kalnichevski 68a101475a HTTPCLIENT-1355: HttpRequestWrapper to implement HttpUriRequest
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1486407 13f79535-47bb-0310-9956-ffa450edef68
2013-05-26 10:59:48 +00:00
Oleg Kalnichevski 6a58c84b03 HTTPCLIENT-1354: do not quote algorithm parameter in DIGEST auth response
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1485210 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:49:31 +00:00
Oleg Kalnichevski a679b4f4ec HTTPCLIENT-1351: Preserve last request URI in the execution context)
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483848 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:13:55 +00:00
Oleg Kalnichevski 45456cf1f0 HTTPCLIENT-1303: support for java.net.Authenticator backed crednetials provider
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483846 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:06:10 +00:00
Oleg Kalnichevski 87d5a1dce9 Workaround a bug in state management of re-opened connections in HttpCore
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483844 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:05:16 +00:00
Oleg Kalnichevski 29ffce391c HTTPCLIENT-1351: Preserve last request URI fragment in the execution context
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483736 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 11:01:54 +00:00
Oleg Kalnichevski 3665ee0d37 Minor optimization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483735 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 11:01:28 +00:00
Oleg Kalnichevski 013d53a64f HTTPCLIENT-1344: Userinfo credentials in URI should not default to preemptive BASIC authentication
HTTPCLIENT-1345: Useinfo credentials ignored in redirect location header

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:15:51 +00:00
Oleg Kalnichevski 4add562f6c Tweaked example app
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483382 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:15:11 +00:00
Oleg Kalnichevski 077dbc687a HTTPCLIENT-1207: Improve extensibility of DefaultHttpRequestRetryHandler
Contributed by Joshua Spiewak <jss at ivyventures.net>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483302 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 11:37:18 +00:00
Oleg Kalnichevski 600c19f5c5 HTTPCLIENT-1294: HttpClient to rewrite host name of the redirect location URI in order to avoid circular redirect exception due to host name case mismatch.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483267 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:13:11 +00:00
Oleg Kalnichevski ff1acb48a8 Code cleanups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1483265 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 09:12:42 +00:00
Oleg Kalnichevski 345e69dc9f Throw UnsupportedSchemeException instead of plain IOException in case of an unsupported protocol scheme
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1479825 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 09:23:40 +00:00
Karl Wright 0ba38201ad Fix for HTTPCLIENT-1264.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1479699 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 22:18:21 +00:00
Oleg Kalnichevski 0ed671153e HTTPCLIENT-1348: Use plus character in addition to comma as a multi-value delimiter when extracting certificate CN in AbstractVerifier
Contributed by Vasil Badev <v_badev at infonotary.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478931 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 19:15:51 +00:00
Oleg Kalnichevski d2aafabd0a Removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478926 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:58:08 +00:00
Oleg Kalnichevski f08b21bdf1 HTTPCLIENT-1349: Removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478916 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:45:57 +00:00
Oleg Kalnichevski e71b14d28c HTTPCLIENT-1349: SSLSocketFactory incorrectly identifies key passed with keystore as the keystore password
Contributed by David Graff <djgraff209 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1478903 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 18:34:49 +00:00
Oleg Kalnichevski 53e3c07805 HTTPCLIENT-1346: Ensure propagation of SSL handshake exceptions
Contributed by Pasi Eronen <pe at iki.fi>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1471292 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 08:42:29 +00:00
Oleg Kalnichevski 228e85deb7 HTTPCLIENT-1343: SSLSocketFactory optional parameters for supported SSL protocols and cipher suites
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469809 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 12:46:22 +00:00
Oleg Kalnichevski e1b869d6c9 HTTPCLIENT-1343: deprecated SSLSocketFactory overloaded constructors in favor of SSLContextBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469333 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 14:04:04 +00:00
Oleg Kalnichevski 68243b227f HTTPCLIENT-1341] DeflateDecompressingEntity does not call Inflater#end
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1469235 13f79535-47bb-0310-9956-ffa450edef68
2013-04-18 09:15:00 +00:00
Oleg Kalnichevski 5769675b15 Redirects with underscore character in the location hostname cause IllegalArgumentException
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467942 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 11:36:34 +00:00
Oleg Kalnichevski 485f06bb27 HTTPCLIENT-1338: (regression) Invalidated / stale DIGEST schemes do not get evicted from the auth cache
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467929 13f79535-47bb-0310-9956-ffa450edef68
2013-04-15 10:25:34 +00:00
Oleg Kalnichevski e8c5d1bca4 Backported fix and test case for HTTPCLIENT-1340
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1467586 13f79535-47bb-0310-9956-ffa450edef68
2013-04-13 10:38:24 +00:00
Oleg Kalnichevski c53c5f1e1e Upgraded project version to 4.3-beta2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1466429 13f79535-47bb-0310-9956-ffa450edef68
2013-04-10 11:30:43 +00:00
Sebastian Bazley f07e2a4c3d Trailing white space
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464559 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 14:10:29 +00:00
Sebastian Bazley d87d19be4e HTTPCLIENT-1319 InetAddressUtils.isIPv6HexCompressedAddress does not detect excess groups
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 13:37:04 +00:00