Commit Graph

414 Commits

Author SHA1 Message Date
Oleg Kalnichevski f696e1f684 HTTPCLIENT-718: SSL verification occurs before setSoTimeout, which can lead to hangs
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604462 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 17:46:43 +00:00
Oleg Kalnichevski 2370dc5fd3 CookieStore converted to generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604434 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:45:48 +00:00
Oleg Kalnichevski d417db6bba HTTPCLIENT-711: Bad route computed for redirected requests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604433 13f79535-47bb-0310-9956-ffa450edef68
2007-12-15 14:35:20 +00:00
Roland Weber f1f1a7a72c cleanup and accessors in RouteSpecificPool
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604259 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 19:05:02 +00:00
Roland Weber 289c793a54 use Queue interface in ConnPoolByRoute
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604252 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:43:46 +00:00
Roland Weber 8941651d8a fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604248 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 18:30:53 +00:00
Roland Weber 494daec53f HTTPCLIENT-715: RoutedRequest moved to impl.client package
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 19:00:22 +00:00
Roland Weber c86b3b02bd HTTPCLIENT-715: changed more tests and examples to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603977 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:54:50 +00:00
Roland Weber 389cd303f2 HTTPCLIENT-715: changed tests and one example to not use RoutedRequest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603969 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:30:18 +00:00
Roland Weber 92a3847e4c HTTPCLIENT-715: one of the RoutedRequest methods removed from HttpClient interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603966 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 18:15:11 +00:00
Roland Weber 6d57a9d5a8 HTTPCLIENT-714: computation of original route moved to director
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603965 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:51:03 +00:00
Roland Weber be0227d72a HTTPCLIENT-713: remove RoutedRequest from ClientRequestDirector interface
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603956 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 17:10:22 +00:00
Oleg Kalnichevski baf3239aec Removed unnecessary casts; minor cleanups
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603878 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:51:52 +00:00
Oleg Kalnichevski b62ae8fc19 Fixed remaining generics warnings in o.a.h.impl.conn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603874 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:42:41 +00:00
Oleg Kalnichevski 08bf8e8e50 Generics in test cases
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603871 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 10:33:25 +00:00
Roland Weber 4d8e798156 fixed connection reuse bug, see HTTPCLIENT-711
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603812 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 04:09:47 +00:00
Oleg Kalnichevski 7477aa3042 Generics in o.a.h.impl.client
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603615 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 14:03:21 +00:00
Roland Weber 0603fc9f3c remove last two generics warnings from API part of the code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603610 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 13:29:55 +00:00
Oleg Kalnichevski f4d2074d1e HttpAuth converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603567 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:25:00 +00:00
Oleg Kalnichevski 34d72d935e HttpCookie converted to use collections with generics
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603563 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 11:17:55 +00:00
Oleg Kalnichevski d12f607b7f Use SimpleDateFormat instead of DateFormat to avoid cast
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603321 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:26:45 +00:00
Oleg Kalnichevski 86f8cd7460 Ain't generics fun?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603319 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:13:00 +00:00
Oleg Kalnichevski 89ffb0f780 More generics all over
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603318 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 18:06:50 +00:00
Roland Weber 3337029c96 some more generics in client and friends
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@603312 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 17:27:55 +00:00
Roland Weber 87ff897181 generics in HttpConn
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@602981 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 18:01:12 +00:00
Oleg Kalnichevski c7b26a6450 HTTPCLIENT-705: Fixed incorrect handling of URIs with null path component
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@596230 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 09:19:01 +00:00
Oleg Kalnichevski a543fc4fff Re-synched HttpClient trunk with HttpCore trunk
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@595948 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 13:39:46 +00:00
Oleg Kalnichevski 3ddce358ae HTTPCLIENT-688: HttpOptions#getAllowedMethods can now handle multiple Allow headers
Contributed by Andrea Selva <selva.andre at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@594946 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 16:59:15 +00:00
Roland Weber 8616ef1ab2 fixed JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591748 13f79535-47bb-0310-9956-ffa450edef68
2007-11-04 09:27:49 +00:00
Oleg Kalnichevski 1564243b0b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591361 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:22:07 +00:00
Oleg Kalnichevski c3ba003710 [maven-release-plugin] prepare release 4.0-alpha2
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591359 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 15:21:50 +00:00
Roland Weber cc8ede7108 removed reference to RFC 1867 - we don't support multipart/form-data in 4.0 at the moment
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591350 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 14:37:05 +00:00
Roland Weber 8724e37398 fixed wrong RFC reference in website
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@591329 13f79535-47bb-0310-9956-ffa450edef68
2007-11-02 13:56:55 +00:00
Oleg Kalnichevski a0578f1038 Corrected HttpClient project description on the front page
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590724 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 15:48:39 +00:00
Oleg Kalnichevski 3ff047a1ae Added missing license headers
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590695 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 14:55:41 +00:00
Oleg Kalnichevski 64a81d6ff7 Added BUILDING.txt; updated assembly descriptor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590192 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:47:33 +00:00
Oleg Kalnichevski 47b1f3e3d6 Fixed javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590162 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:18:52 +00:00
Oleg Kalnichevski 47ed4116a2 Updated web site for 4.0 alpha2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590158 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:06:09 +00:00
Oleg Kalnichevski c3aaaef07d Fixed typo
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590157 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 17:01:54 +00:00
Oleg Kalnichevski fdeae16eaf Updated release notes for 4.0 alpha2 release
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@590152 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 16:58:16 +00:00
Oleg Kalnichevski 243769a600 HTTPCLIENT-698: Resolve non-absolute redirect URIs relative to the request URI
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589630 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 13:57:15 +00:00
Oleg Kalnichevski e445d72146 HTTPCLIENT-697: Throw a more intelligible exception when connection to a remote host cannot be established.
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück



git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@589382 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 16:56:32 +00:00
Oleg Kalnichevski a8e875970d HTTPCLIENT-689: Caching of SimpleDateFormat in DateUtils
Contributed by Daniel Müller <strider at digitalstrider.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@587904 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 15:02:49 +00:00
Roland Weber 13124872f7 HTTPCLIENT-689: parameter stack building moved to AbstractHttpClient
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@586567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 18:18:21 +00:00
Oleg Kalnichevski bf541ba1fd HTTPCLIENT-477: Use distinct instances of the authentication handler interface for authentication with target and proxy hosts
Contributed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@585984 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:44:26 +00:00
Oleg Kalnichevski b0f91905f4 Upgraded HttpCore dependency to 4.0-ALPHA6
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@584545 13f79535-47bb-0310-9956-ffa450edef68
2007-10-14 13:40:19 +00:00
Oleg Kalnichevski e215891dd0 Test if the host name appears to be a fully qualified DNS name, IPv4 address or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583886 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 17:13:53 +00:00
Oleg Kalnichevski 19e029924f HTTPCLIENT-617: Hostname verification: turn off wildcards when CN is an IP address
Contributed by Julius Davies <juliusdavies at gmail.com>
Reviewed by Oleg Kalnichevski


git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583749 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 09:19:45 +00:00
Oleg Kalnichevski 3e8a5f6863 Added utility class to test whether a string represents a valid IPv4 or IPv6 address
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@583201 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:48:12 +00:00
Oleg Kalnichevski fe1fa7cd3f HTTPCLIENT-693: Set stacked parameters on the request wrapper instead of the original request (this also ensures parameters get correctly set on all follow-up requests)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@582651 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 17:16:28 +00:00