Commit Graph

746 Commits

Author SHA1 Message Date
Oleg Kalnichevski 6bf5825254 Ported logging guide from HttpClient 3.x
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748870 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 15:52:03 +00:00
Oleg Kalnichevski d3389a9b7b Cleaned up more sample code
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748834 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:34:51 +00:00
Oleg Kalnichevski 65b8b329ec Cleaned up execute direct and execute via proxy examples
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748828 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:05:44 +00:00
Oleg Kalnichevski 25ff7db458 Slightly more intelligible debug log
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@748827 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28 12:04:44 +00:00
Oleg Kalnichevski 2e4ab52fd5 HTTPCLIENT-823: 'http.conn-manager.max-total' parameter can be adjusted dynamically. However, the size of existing
connection pools per route, once allocated, will not be adjusted.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747762 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 12:16:27 +00:00
Oleg Kalnichevski aae2b9cc36 Upgraded HttpCore dependency to 4.0
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747716 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 09:23:29 +00:00
Oleg Kalnichevski 68916fe676 HTTPCORE-189: Upgrade POMs to use Clover2
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747598 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 23:00:54 +00:00
Oleg Kalnichevski bb7c2d09c9 HTTPCLIENT-827: publish httpclient test-jar
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@747327 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 10:23:53 +00:00
Oleg Kalnichevski 646aeb339c Updated release info
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746801 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:54:31 +00:00
Oleg Kalnichevski 401dfa839f Use remote resources plugin to add LICENSE and NOTICE resources to the release artifacts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746799 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:48:08 +00:00
Oleg Kalnichevski 902608e704 HTTPCLIENT-826: Set source and output encoding in POMs
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@746797 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 18:42:25 +00:00
Sebastian Bazley 77ab335fb3 Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744772 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 22:17:10 +00:00
Sebastian Bazley eec7461bed Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744770 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 22:10:51 +00:00
Sebastian Bazley 56ed074057 Add @since 4.0 tags
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744698 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 17:10:40 +00:00
Sebastian Bazley 5ea4bb730c Add missing AL header
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744695 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:46:58 +00:00
Sebastian Bazley 9ca4ef79ee Remove @author tags; fix some SVN properties
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744689 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:34:53 +00:00
Sebastian Bazley 9806e2f5d0 Remove unthrown Exception clauses
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744686 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 16:18:52 +00:00
Oleg Kalnichevski d855722988 HTTPCLIENT-822: Default socket factories to re-throw SocketTimeoutException as ConnectTimeoutException in case of connect failure due to time out
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744525 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 17:01:38 +00:00
Oleg Kalnichevski dd5061b2ab HTTPCLIENT-813: Fixed default port resolution. Invalid ports no longer get replaced with the default port value.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@744520 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:46:33 +00:00
Oleg Kalnichevski eb29d0e8ce Upgraded current version to 4.0-beta3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@726326 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 01:15:52 +00:00
Oleg Kalnichevski ac5ffb3a00 [maven-release-plugin] prepare release 4.0-beta2
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@726319 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 00:37:12 +00:00
Oleg Kalnichevski 61120d5695 Fixed dependency info in README.txt and a typo in RELEASE_NOTES.txt
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@726111 13f79535-47bb-0310-9956-ffa450edef68
2008-12-12 20:22:40 +00:00
Oleg Kalnichevski 7378dc82be Removed a sentence from javadocs, which was no longer correct
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@725803 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 20:34:05 +00:00
Sebastian Bazley 24d9795fdf Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723981 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 13:37:59 +00:00
Oleg Kalnichevski c6769986be Fixed NPE in DefaultRequestDirector thrown when retrying a failed request over a proxied connection
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723813 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 18:54:23 +00:00
Oleg Kalnichevski 9570849f9c My optimism about the stability of HttpClient trunk was premature. Most likely more than one BETA will be needed before the final release.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723810 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 18:48:45 +00:00
Oleg Kalnichevski f4b419ff8a Updated release notes and the web site for HttpClient 4.0-beta2 release
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@723027 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 19:30:22 +00:00
Oleg Kalnichevski 3f6765dd6e Updated release assemblies
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722577 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 19:14:41 +00:00
Oleg Kalnichevski a412fd3bc8 Removed unnecessary socket class check
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722283 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 23:24:07 +00:00
Oleg Kalnichevski 59b1f4047d Fixed connection re-use strategy local variable
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722185 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:13:43 +00:00
Oleg Kalnichevski 2a66c59754 Removed unused local variables
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722181 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:10:39 +00:00
Oleg Kalnichevski 70f61a78a8 * refactored local test server
* added option to specify an SSL context for the local test server
* fixed SSL socket factory test case failing intermittently when running JRE 1.6

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722180 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:09:46 +00:00
Sebastian Bazley 5e0b01c68d Simplify code by using empty array instead of null
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 15:36:16 +00:00
Sebastian Bazley 2d66adf715 Integer.valueOf() is cheaper than new Integer()
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722083 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 14:36:31 +00:00
Sebastian Bazley b2902f1ca0 Add code to show that Gzip worked
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722043 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 11:47:46 +00:00
Sebastian Bazley d06ecc08e7 Add missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722041 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 11:39:21 +00:00
Sebastian Bazley 6fa08aafaa Typo
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@722028 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 10:29:44 +00:00
Oleg Kalnichevski e00ac08343 Fixed test case failing on MS Vista
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721833 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 15:49:04 +00:00
Oleg Kalnichevski f7d3372681 Removed unused local variables
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721808 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 13:09:38 +00:00
Sebastian Bazley 07dad4db9c Suppress expected unnecessary cast warning
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721747 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:12:55 +00:00
Sebastian Bazley 89df3c059b Javadoc corrections
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721746 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:12:08 +00:00
Sebastian Bazley 967655eb86 No point creating Long when we need long
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@721745 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 00:11:25 +00:00
Oleg Kalnichevski b891c25b6f Removed IgnoreConnectMethod private class, which is no longer needed; updated User-Agent string
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@712727 13f79535-47bb-0310-9956-ffa450edef68
2008-11-10 19:38:43 +00:00
Oleg Kalnichevski 997d0e0694 HTTPCLIENT-807: Added means to set mime type on default ContentBody implementations
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709485 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 17:16:08 +00:00
Oleg Kalnichevski e6a8741780 HTTPCLIENT-803: Fixed bug in SSL host verifier implementations causing the SSL certificate to be rejected as invalid if the connection is established using an IP address
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709402 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 13:08:23 +00:00
Oleg Kalnichevski c0209322fb Removed all TestAll* classes
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709369 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 09:10:12 +00:00
Oleg Kalnichevski e69e89e496 HTTPCLIENT-806: DefaultHttpMethodRetryHandler will no longer retry on ConnectExceptions
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@709159 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 13:56:25 +00:00
Oleg Kalnichevski 379a83514a * RFC2965 now rejects Set-Cookie headers as unrecognized
* Changed CookieIdentityComparator to correctly compare domain attributes of cookies transmitted with SetCookie and SetCookie2 headers



git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708890 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 12:31:57 +00:00
Oleg Kalnichevski e434f1367a DigestScheme can use an arbitrary digest algorithm requested by the target server (such SHA) as long as this algorithm is supported by the Java runtime
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708595 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 15:11:25 +00:00
Oleg Kalnichevski c3b6c426ca Fixed parsing and validation of RFC2109 compliant Set-Cookie headers by the Best-Match cookie spec
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708579 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 14:05:58 +00:00