Commit Graph

2051 Commits

Author SHA1 Message Date
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
Oleg Kalnichevski 3627984c9d PoolingClientConnectionManager does not use ClientConnectionOperator#createConnection() method to create new connections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442566 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 12:39:21 +00:00
Oleg Kalnichevski 5cd571a159 HTTPCLIENT-1307: Future based asynchronous request execution
Contributed by Jilles van Gurp <jilles at jillesvangurp.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442152 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:28:49 +00:00
Oleg Kalnichevski 305357a488 Fixed parameter mixup in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1442151 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 15:28:32 +00:00
Oleg Kalnichevski f6f1d7af49 HTTPCLIENT-1311: made sure the current thread is re-interrupted if InterruptedException is caught and re-thrown as a different exception; tweaked connection manager API related to interruptable operations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1441414 13f79535-47bb-0310-9956-ffa450edef68
2013-02-01 12:06:33 +00:00
Sebastian Bazley 882dd890f1 developed by => developed at : see http://www.apache.org/legal/reports.html#2006-05-24 section 6C
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440715 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 22:25:57 +00:00
Oleg Kalnichevski 1f7b7a32af HTTPCLIENT-1312: Zero length content entities with a Content-Encoding header cause an I/O error when an attempt is made to consume such entity
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440673 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:13:02 +00:00
Oleg Kalnichevski e37f99ccda HTTPCLIENT-1313: Fixed IllegalStateException in deprecated ThreadSafeClientConnManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440520 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:59:20 +00:00
Oleg Kalnichevski 90fc40bbf2 Use InetSocketAddress instead of InetAddress in the HttpClientConnectionManager#connect method
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1440519 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 16:59:07 +00:00
Oleg Kalnichevski b1e5098828 Deprecated Request#elementCharset in the fluent facade API
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1439913 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 14:40:26 +00:00
Oleg Kalnichevski 549a45b2f4 HTTPCLIENT-1305: Use Base64 as a final instance variable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1438566 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:55:56 +00:00
Oleg Kalnichevski 500434f256 HTTPCLIENT-1305: Ensure chunking is disabled when applying Base64 encoding
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1438495 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 13:19:23 +00:00
Oleg Kalnichevski 983bef040d Fixed Java 5 incompatibility causing a compile error with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437994 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 13:37:10 +00:00
Oleg Kalnichevski 508497a8be HTTPCLIENT-1298: Add AsynchronousValidator in HttpClientBuilder's list of closeable objects
Contributed by Martin Meinhold <mmeinhold at atlassian.com>

* Resolve constructor dependency between CachingExec and AsynchronousValidator
* AsynchronousValidator implements Closeable interface

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1437952 13f79535-47bb-0310-9956-ffa450edef68
2013-01-24 11:05:36 +00:00