Commit Graph

2075 Commits

Author SHA1 Message Date
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 8caacb0323 Removed references to deprecated code from HC fluent module
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1512340 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:22:13 +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 f69b8a3472 Removed references to deprecated code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1508013 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 12:29:18 +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
Francois-Xavier Bonnet 981aa247d7 HTTPCLIENT-1361: stale-while-revalidate should work also without last-modified nor etag
HTTPCLIENT-1368: stale-if-error request cache directive should also apply to non-revalidatable cache entries

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1499502 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 18:11:35 +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 9056303b5c Post HTTPCLIENT-1372 cleanups; all multipart entity generation logic moved to MultipartEntityBuilder
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495409 13f79535-47bb-0310-9956-ffa450edef68
2013-06-21 12:28:58 +00:00
Karl Wright f596896b32 Add RFC6532 multipart mode, and supporting tests and classes. Finishes HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495189 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 21:09:23 +00:00
Oleg Kalnichevski 1dd6b90374 Removed code duplication between deprecated HttpMultipart and AbstractMultipartForm; made AbstractMultipartForm and its super classes package private
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1495134 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 19:06:33 +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
Karl Wright 74213fa419 Refactoring, in preparation for functional pieces for HTTPCLIENT-1372.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494902 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 09:59:33 +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 594f24cf05 HTTPASYNC-46: HttpClient cache test cases can be shared with HttpAsyncClient
Contributed by James Leigh <james at 3roundstones.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1494755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 19:50:02 +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 3956b9f30f Wrong field used; config parameter can be null which would cause NPE here
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493755 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 13:23:02 +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 b833be807d Changed to use shared checkstyle config v1
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493402 13f79535-47bb-0310-9956-ffa450edef68
2013-06-15 17:18:01 +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
Gary D. Gregory e208df7fc7 Update Apache Commons Logging to 1.1.3 from 1.1.1.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492878 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:40:33 +00:00
Gary D. Gregory 853149b711 Add .pmd files to svn:ignore.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1492875 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 21:26:03 +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