Commit Graph

771 Commits

Author SHA1 Message Date
Oleg Kalnichevski 71ef668258 HTTPCLIENT-1385: Fixed path normalization in CacheKeyGenerator
Contributed by James Leigh <james at 3roundstones dot com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513622 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 19:38:48 +00:00
Oleg Kalnichevski 5e2c01472d Updated HttpClient tutorial to 4.3 APIs (fundamentals, conn mgmt and state mgmt chapters)
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1513603 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:15:16 +00:00
Oleg Kalnichevski 64ca74933b Found possible cause of thread interruption during test suite execution
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512759 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 15:09:42 +00:00
Oleg Kalnichevski da8ac20f45 Fixed Java 5 incompatibility causing a compile error with JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512719 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 14:20:10 +00:00
Oleg Kalnichevski 087fbac7d2 Removed reference to o.a.http.impl.client package from o.a.http.client.utils; fixed OSGi import / export warnings
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512474 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 20:11:34 +00:00
Oleg Kalnichevski 888b783538 Fixed duplicate N&L problem by removing maven-notice-plugin in favor of maven-remote-resource-plugin included through Apache parent POM
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512361 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:57:15 +00:00
Oleg Kalnichevski 25d95561b2 Disabled test case failing in Continuum CI
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512341 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:22:28 +00:00
Oleg Kalnichevski bace78ebb4 Fixed some deprecation and varargs cast warnings; removed deprecated mock classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512339 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:21:58 +00:00
Oleg Kalnichevski 0fb27248f5 Added test cases for RetryExec, ServiceUnavailableRetryExec, and MinimalClientExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512337 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:21:21 +00:00
Oleg Kalnichevski 553e7dd320 Added test cases for ProtocolExec and RedirectExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512264 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 11:38:05 +00:00
Oleg Kalnichevski 23f6255cd7 Reverted previous change
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512263 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 11:37:43 +00:00
Oleg Kalnichevski 6bcb8e0b5f An attempt at finding a work-around for a bizzare issue that affects on one unit test when executed by Continuum CI server
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512197 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 08:24:21 +00:00
Oleg Kalnichevski 7005e49c57 Upgraded parent pom to version 7; removed assembly plugin; removed clover profile
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512192 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 07:24:29 +00:00
Oleg Kalnichevski 2d17d461bb Added another URI rewriting test case
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511689 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 10:56:46 +00:00
Oleg Kalnichevski 78295c169a Minor performance optimization: do not consume content of an intermediate response if the underlying connection is not re-usable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511652 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 09:39:19 +00:00
Oleg Kalnichevski 4db8167981 Cleaned up HttpRoute
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511446 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:18 +00:00
Oleg Kalnichevski e40168d06c Unit tests for MainClientExec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1511445 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 19:20:05 +00:00
Oleg Kalnichevski d90302ed14 Upgraded HttpCore to version 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1510886 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 08:53:13 +00:00
Oleg Kalnichevski fc8df4ef2a Improved test coverage for classes added in 4.3
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1508949 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 16:29:35 +00:00
Oleg Kalnichevski 834d5e66da Deprecated SSLSocketFactory in favor of SSLConnectionSocketFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507677 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 15:59:36 +00:00
Oleg Kalnichevski e7d9978f26 Moved deprecated classes to a separate scr folder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1507633 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 13:16:37 +00:00
Oleg Kalnichevski 914c9ceba6 Fixed check style violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505609 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 07:21:36 +00:00
Sebastian Bazley 4aa221dd54 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1505483 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 22:28:14 +00:00
Sebastian Bazley 4790be3c56 The final keyword should the the final keyword!
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1501015 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:39:18 +00:00
Oleg Kalnichevski b524b797c4 Follow up to HTTPCLIENT-1383: fixes another infinite loop in case of an out of sequence NTLM response
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500629 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 09:28:50 +00:00
Oleg Kalnichevski 9385b90c0a Follow up to HTTPCLIENT-1383: fixes another infinite loop in case of an out of sequence NTLM response
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500407 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 11:29:06 +00:00
Oleg Kalnichevski bb902afa4f Follow up to HTTPCLIENT-1381: fixes another NPE
Contributed by Ricardo Pereira <thc202 at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500401 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 10:20:33 +00:00
Oleg Kalnichevski f17ef0ad11 HTTPCLIENT-1381: tolerate null NT domain and host
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:12:55 +00:00
Oleg Kalnichevski 6b0fdc74cc HTTPCLIENT-1383: HttpClient enters an infinite loop during NTLM authentication if the opposite endpoint keeps responding with a type 2 NTLM response after type 3 MTLM message has already been sent by the client
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1500275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:12:43 +00:00
Oleg Kalnichevski 86e8b3d840 HTTPCLIENT-1382: fixed invalid default scheme registration in BasicHttpClientConnectionManager
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 12:01:24 +00:00
Oleg Kalnichevski efe3d7d7e2 HTTPCLIENT-1379: added X509HostnameVerifier setter to HttpClientBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1498955 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:32:47 +00:00
Oleg Kalnichevski 47f900a03f Fixed maven checkstyle config; fixed format violations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495818 13f79535-47bb-0310-9956-ffa450edef68
2013-06-23 14:07:22 +00:00
Oleg Kalnichevski 4ab2f9494a Enhanced SSLContextBuilder; added PrivateKeyStrategy interface to enable customization of private key selection; more SSL test cases
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495022 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 14:34:37 +00:00
Oleg Kalnichevski eeba3e364d SSL test case cleanup
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494878 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 07:18:52 +00:00
Oleg Kalnichevski 2e72fffacf HTTPCLIENT-1377: User principal for non-NTLM authentication is incorrectly generated when using user credentials are specified as NTCredentials
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494747 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:39:44 +00:00
Oleg Kalnichevski c72ac38d2e HTTPCLIENT-1374: Added public default ManagedHttpClientConnection impl
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494675 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 16:07:10 +00:00
Sebastian Bazley 0533ce7c53 Remove unthrown exceptions from private and package methods
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493752 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:15:48 +00:00
Sebastian Bazley ea9662ee39 Spurious @return
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493751 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:15:05 +00:00
Oleg Kalnichevski dc3b8d47fb HTTPCLIENT-1374: Added route parameter to HttpConnectionFactory
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493350 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 12:50:56 +00:00
Oleg Kalnichevski 56b7cbe159 Upgraded project version to 4.3-beta3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492097 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 07:51:45 +00:00
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