Commit Graph

2214 Commits

Author SHA1 Message Date
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 fc298adb7c Removed Clirr plugin config from HttpClient Cache (should be inherited from parent)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1464368 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 08:57:59 +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 5f645aa351 Publish javadocs on deployment
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463593 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 15:17:55 +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 0bbbd742b8 HTTPCLIENT-1213: Avoid parsing HttpCacheEntry date attribute multiple times.
Contributed by Sam Perman <sam at permans.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1463551 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 14:05:12 +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 e1ca6d2fb8 HTTPCLIENT-1299: (regression) cache incorrectly disposes of the underlying cache resource when storing variant entry
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1462069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 12:36:03 +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 b1781b2a60 Upgraded Clover2 plugin to version 3.1.10.1; Clover profile can now be executed with Maven 3.0.x
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1460556 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 09:15:41 +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
Gary D. Gregory 720f2f2a24 Update copyrights in NOTICE.txt files to 2013.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1458539 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 22:05:19 +00:00
Oleg Kalnichevski 10d7d1c0e8 Fixed OSGi metadata (missing javax.net import)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1454720 13f79535-47bb-0310-9956-ffa450edef68
2013-03-09 14:37:51 +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 932721b54f HTTPCLIENT-1310: Allow background validation to optionally back off after a number of failed requests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1450718 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 10:34:05 +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
Francois-Xavier Bonnet a54e7031b1 HTTPCLIENT-1324: CachingHttpClientBuilder.build() fails when asynchronousWorkersMax=0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1447763 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:23:16 +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
Sebastian Bazley af4a7f171b Javadoc syntax
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444636 13f79535-47bb-0310-9956-ffa450edef68
2013-02-11 00:26:30 +00:00
Oleg Kalnichevski 265f083625 HTTPCLIENT-1320: SSLSocketFactory#createSystemSSLContext causes UnrecoverableKeyException 'Password verification failed' when a truststore is specified with 'javax.net.ssl.trustStore' system property is used without a password
Contributed by Abe Backus <abraham at backus.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1444408 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 18:27:21 +00:00
Sebastian Bazley f90b20ce36 Unexpected Javadoc tag
The class is not generic

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443287 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 00:20:20 +00:00
Sebastian Bazley 4464a658db HTTPCLIENT-1319 - add disabled tests
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443286 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 00:17:31 +00:00
Sebastian Bazley cbb0c48021 Add some more test examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1443277 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 23:53:45 +00:00
Sebastian Bazley b6bfa8505f Trim trailing blank (oops)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442835 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 02:18:53 +00:00
Sebastian Bazley d7afb22c13 [HTTPCLIENT-1316] Certificate verification rejects IPv6 addresses which are not String-equal.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442829 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 01:41:58 +00:00
Oleg Kalnichevski 4a021ce33a Log 'Connection can be kept alive' debug message only if the connection is known be re-usable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442567 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 12:39:32 +00:00