Commit Graph

700 Commits

Author SHA1 Message Date
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
Oleg Kalnichevski 3ab8ff3717 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464423 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 10:32:42 +00:00
Oleg Kalnichevski aaf08cec5c HTTPCLIENT-1336: javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464408 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 09:50:04 +00:00
Oleg Kalnichevski a6a328a7af Moved DateUtils to o.a.http.client.utils
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464366 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:57:36 +00:00
Oleg Kalnichevski 69a7589ad5 Fixed synchronization bug
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464365 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:56:04 +00:00
Oleg Kalnichevski 1242243793 Moved HttpAuthenticator to o.a.http.impl.auth
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463959 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 12:27:18 +00:00
Oleg Kalnichevski 3f444fc740 Deprecated ClientContext; removed references to deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463938 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 11:56:34 +00:00
Oleg Kalnichevski ee0997dfff HTTPCLIENT-1329: SSLSocketFactory keystorePassword constructor parameter should be char[] instead of java.lang.String
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463575 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 14:49:41 +00:00
Oleg Kalnichevski 2f310c3744 Fixed race condition in #shouldExecuteMultipleCallsAndCallback test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463521 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:11:24 +00:00
Oleg Kalnichevski 26add4a3d6 HTTPCLIENT-1327: BrowserCompatSpec double quotes cookie value when 'expires' attribute is present
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463513 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 12:50:19 +00:00
Oleg Kalnichevski 5f5269f171 HTTPCLIENT-1331: made timeout value less aggressive
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463472 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 10:23:10 +00:00
Oleg Kalnichevski 0373fbed65 Renamed HttpAsyncClientWithFuture to FutureRequestExecutionService; moved implementation classes to o.a.h.impl.client package
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463471 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 10:22:55 +00:00
Oleg Kalnichevski 458575bf59 HTTPCLIENT-1322: Factory method + example for HttpAsyncClientWithFuture. Follow-up to HTTPCLIENT-1307
Contributed by Jilles van Gurp <jilles at jillesvangurp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1462087 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 13:30:06 +00:00
Oleg Kalnichevski 60bca79a3c Upgraded HttpCore to version 4.3-beta1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460717 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 15:34:27 +00:00
Oleg Kalnichevski 371b754e1c Added SSLContext as an option for SSL customization
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460555 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 09:15:28 +00:00
Oleg Kalnichevski 96c021c8dd Fixed broken authentication support in deprecated DefaultHttpClient and its subclasses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460554 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 09:15:13 +00:00
Oleg Kalnichevski 9d6d3b6288 HTTPCLIENT-1320: Leverage javax.net.ssl.SSLSocketFactory#getDefault() to initialize SSL context based on system defaults instead of using an internal custom routine
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 11:41:56 +00:00
Oleg Kalnichevski ec85a83173 Minor tweak to debug log message
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454680 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 09:46:59 +00:00
Oleg Kalnichevski fd5cab185b Revised HttpClientConnectionManager API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454679 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 09:46:33 +00:00
Francois-Xavier Bonnet c6355ba412 HTTPCLIENT-1328: socketTimeout parameter is ignored
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1450810 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:32:09 +00:00
Francois-Xavier Bonnet d73f4c1b38 HTTPCLIENT-1325: Using a HttpRequest that is not an HttpUriRequest when host in URI is not target host results in an invalid request
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1448936 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 08:36:36 +00:00
Karl Wright 584309b3e8 Fix for HTTPCLIENT-1315.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1447065 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 20:01:49 +00:00
Francois-Xavier Bonnet f4447aef19 Added javadoc for deprecation
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445598 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 13:48:49 +00:00
Francois-Xavier Bonnet 5fbe5ea46d HTTPCLIENT-1323: CachingHttpClient ignores params set on the request
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445521 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 09:51:24 +00:00
Sebastian Bazley f4c45c1e6f Show repeated string in compressed pattern
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445026 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 03:23:52 +00:00
Sebastian Bazley cd1ac109d3 Add tests to show compressed IPv6 addresses cannot have too many leading or trailing fields
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1445023 13f79535-47bb-0310-9956-ffa450edef68
2013-02-12 03:09:30 +00:00
Sebastian Bazley c29390b4dc Remove single trailing space (checkstyle is rather fierce!)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444943 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 20:19:56 +00:00
Sebastian Bazley d1431569ed Make repeat string in IPv4 expression more obvious
Remove non-capturing groups for clarity

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444942 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 20:03:08 +00:00
Sebastian Bazley 4146dd8c58 HTTPCLIENT-1317 InetAddressUtils should handle IPv6 Addresses with Embedded IPv4 Addresses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444926 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 19:15:07 +00:00
Francois-Xavier Bonnet b95f92e1bc HTTPCLIENT-1321: DefaultHttpClient ignores cookie policy
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444920 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 18:44:15 +00:00
Sebastian Bazley 7e081f0d5c More tests for IPV6 - show that IP with 8 zeroes is OK, but with 7 or 9 is not
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444746 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 11:56:52 +00:00
Sebastian Bazley d9de7f7c96 Explicit boxing
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444639 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 00:32:14 +00:00