Oleg Kalnichevski
a25cb3c6c0
HttpClient will throw an exception if an attempt is made to retry a request with a non-repeatable request entity.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@664066 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 18:13:18 +00:00
Oleg Kalnichevski
650a04c734
Fixed request re-generation logic when retrying a failed request. Auto-generated headers will no accumulate.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@661444 13f79535-47bb-0310-9956-ffa450edef68
2008-05-29 19:41:00 +00:00
Oleg Kalnichevski
c0cf0c7654
HTTPCLIENT-424: Preemptive authentication no longer limited to BASIC scheme only. HttpClient can be customized to authenticate preemptively with DIGEST scheme
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659595 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 16:47:14 +00:00
Oleg Kalnichevski
a89695fea4
HTTPCLIENT-670: Pluggable hostname resolver
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659194 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 18:33:47 +00:00
Oleg Kalnichevski
5cd9d169f2
HTTPCLIENT-719: Clone support for HTTP request and cookie objects
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@659191 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 18:26:53 +00:00
Oleg Kalnichevski
1b4ecf0b57
HTTPCLIENT-776: Fixed concurrency issues with AbstractPoolEntry
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@658775 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 17:30:45 +00:00
Oleg Kalnichevski
6d0c809900
Resolved a long standing problem with HttpClient not taking into account the user context when pooling / re-using connections. HttpClient now correctly handles stateful / user specific connections such as persistent NTLM connections and SSL connections with client side authentication.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@658759 13f79535-47bb-0310-9956-ffa450edef68
2008-05-21 17:06:17 +00:00
Oleg Kalnichevski
c9a4970c10
HTTPCLIENT-773: Improved handling of the 'expires' attribute by the 'Best Match' cookie spec
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@657334 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 11:44:16 +00:00
Oleg Kalnichevski
4022a78140
Added NTLM_SUPPORT.txt document describing steps necessary to NTLM enable Httpclient
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@655311 13f79535-47bb-0310-9956-ffa450edef68
2008-05-11 13:01:02 +00:00
Sebastian Bazley
5eedce1de8
HTTPCLIENT-765 - String.toLowerCase() / toUpperCase() should specify Locale.ENGLISH
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652952 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 23:52:56 +00:00
Oleg Kalnichevski
18ee596a4d
HTTPCLIENT-769: Do not pool connection marked non-reusable
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652945 13f79535-47bb-0310-9956-ffa450edef68
2008-05-02 23:10:20 +00:00
Oleg Kalnichevski
eea2c52630
Minor change in the release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@652457 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:33:07 +00:00
Oleg Kalnichevski
67c6704035
Updated release notes for HttpClient 4.0-alpha4 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@651810 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 09:55:02 +00:00
Oleg Kalnichevski
374228c58c
HTTPCLIENT-763: AbstractClientConnAdapter#abortConnection() does not release the connection if called from the main execution thread while there is no blocking I/O operation.
...
AbstractClientConnAdapter#abortConnection() is usually expected to be called from a helper thread in order to unblock the main execution thread blocked in an I/O operation. It may be unsafe to call AbstractClientConnAdapter#releaseConnection() from the helper thread, so we have to rely on an IOException thrown by the closed socket on the main thread to trigger the release of the connection back to the connection manager. However, if this method is called from the main execution thread it should be safe to release the connection immediately. Besides, this also helps ensure the connection gets released back to the manager if AbstractClientConnAdapter#abortConnection() is called from the main execution thread while there is no blocking I/O operation.
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@650225 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 19:14:23 +00:00
Oleg Kalnichevski
ad9e79c4d9
HTTPCLIENT-652: Added optional state attribute to managed client connections; this enables connection managers to correctly handle stateful connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@649204 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 17:50:13 +00:00
Oleg Kalnichevski
bc6b2d7061
HTTPCLIENT-673: Revised max connections per route configuration
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@647810 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:17:01 +00:00
Oleg Kalnichevski
47eff4157e
HTTPCLIENT-753: Class Scheme and related classes moved to a separate package
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645850 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 11:08:52 +00:00
Oleg Kalnichevski
f2ef6c15a6
HTTPCLIENT-757: Improved request wrapping in the DefaultClientRequestDirector. This also fixed the problem with the default proxy set at the client level having no effect.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@645843 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:46:04 +00:00
Oleg Kalnichevski
a72e883d9c
HTTPCLIENT-734: Request abort will unblock the thread waiting for a connection
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638979 13f79535-47bb-0310-9956-ffa450edef68
2008-03-19 19:36:02 +00:00
Oleg Kalnichevski
1e153a504c
HTTPCLIENT-759: Ensure release of connections back to the connection manager on exceptions.
...
Contributed by Sam Berlin <sberlin at gmail.com>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@638517 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 19:22:57 +00:00
Oleg Kalnichevski
c84d594f75
HTTPCLIENT-758: Fixed the use of generics in AbstractHttpClient #removeRequestInterceptorByClass and #removeResponseInterceptorByClass
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
Reviewed by Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@635675 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 20:00:15 +00:00
Oleg Kalnichevski
8f53912519
HTTPCLIENT-749: HttpParams beans
...
Contributed by Stojce Dimski <sdmiski at yahoo.it>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632313 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 13:19:50 +00:00
Oleg Kalnichevski
2588e16238
HTTPCLIENT-755: Workaround for known bugs in java.net.URI.resolve() (Bug ID: 4708535)
...
Contributed by Johannes Koch <johannes.koch at fit.fraunhofer.de>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@632273 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 09:43:28 +00:00
Oleg Kalnichevski
9d186cf123
Updated release notes for the 4.0-alpha3 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620510 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 16:10:46 +00:00
Roland Weber
2c2dd57f72
HTTPCLIENT-742: common interface for HttpRoute and RouteTracker
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@620254 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 10:18:48 +00:00
Oleg Kalnichevski
8f6510cc96
HTTPCLIENT-741: Fixed concurrency issues in AbstractClientConnAdapter
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619937 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 16:48:08 +00:00
Roland Weber
be68c86ffb
added HTTPCLIENT-726, reformatted for 79 cpl
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619621 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 20:11:26 +00:00
Oleg Kalnichevski
aa020a5c0d
HTTPCLIENT-643: Automatic connect fail-over for multi-home remote servers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@619163 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 21:41:06 +00:00
Roland Weber
3dde3cc912
release notes for HTTPCLIENT-735
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618139 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 01:00:31 +00:00
Roland Weber
38761e7e46
HTTPCLIENT-723: basic test coverage for ProxySelectorRoutePlanner
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618048 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 18:14:48 +00:00
Roland Weber
3fc63457df
release notes and an exception punctuation
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@618020 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 17:06:26 +00:00
Roland Weber
799365d07a
HTTPCLIENT-736: SchemeRegistry instead of ConnectionManager
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@617616 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 19:27:30 +00:00
Oleg Kalnichevski
7c4f0f14ca
HTTPCLIENT-730: Fixed rewriting of URIs containing escaped characters
...
Contributed by Sam Berlin <sberlin at gmail.com> and Oleg Kalnichevski
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@614925 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 16:53:22 +00:00
Oleg Kalnichevski
f3ced2556a
HTTPCLIENT-667:
...
* Completed 'best match' cookie spec implementation
* Added test coverage
* Made the 'best match' cookie policy default
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613865 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 12:04:30 +00:00
Roland Weber
bcc2848421
HTTPCLIENT-729: moved HttpRoute and friends to conn.routing
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@613654 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 19:00:19 +00:00
Roland Weber
1d3425c2db
HTTPCLIENT-725: time unit when closing idle connections
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607432 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 15:50:02 +00:00
Roland Weber
540984183f
HTTPCLIENT-677: no Thread.interrupt() for shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607421 13f79535-47bb-0310-9956-ffa450edef68
2007-12-29 14:40:44 +00:00
Roland Weber
7a2a85f25e
HTTPCLIENT-677: don't use interrupt for regular wakeup
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@607293 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 17:25:23 +00:00
Roland Weber
298a16321c
HTTPCLIENT-716: new params for route planner, including a forced route
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@606447 13f79535-47bb-0310-9956-ffa450edef68
2007-12-22 13:04:02 +00:00
Roland Weber
96c6041a7b
HTTPCLIENT-715: release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@604564 13f79535-47bb-0310-9956-ffa450edef68
2007-12-16 08:01:46 +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
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
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
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
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
Roland Weber
e033a99de3
HTTPCLIENT-690: provide access to the SSLSession of SSL connections
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@580608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 17:25:18 +00:00
Roland Weber
a9722d704e
HTTPCLIENT-692: TSCCM throws InterruptedException
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@578385 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 07:22:57 +00:00
Roland Weber
c67d2fc640
updated release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@576093 13f79535-47bb-0310-9956-ffa450edef68
2007-09-16 12:46:36 +00:00
Roland Weber
efe4b9c9c0
HTTPCLIENT-649: ManagedClientConnection now supports proxy chains
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@573844 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 14:20:53 +00:00
Roland Weber
f37224cd0c
HTTPCLIENT-636: BadStaticMaps are gone
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@560288 13f79535-47bb-0310-9956-ffa450edef68
2007-07-27 15:49:45 +00:00
Roland Weber
975a559dfc
HTTPCLIENT-669: contributed by Andrea Selva, reviewd by Roland Weber
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@559874 13f79535-47bb-0310-9956-ffa450edef68
2007-07-26 16:29:05 +00:00
Roland Weber
86dea0d47c
HTTPCLIENT-653: TSCCM is GCed after conn wrapper detach.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558802 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 17:16:44 +00:00
Roland Weber
8621fbf232
HTTPCLIENT-674: use VersionInfo from core
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558325 13f79535-47bb-0310-9956-ffa450edef68
2007-07-21 12:29:49 +00:00
Oleg Kalnichevski
c4a9583527
HTTPCLIENT-666: Replace HttpState with CredentialsProvier and CookieStore interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558158 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 21:33:17 +00:00
Roland Weber
826d674e3d
adapted examples to HTTPCORE-100, updated release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558121 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 20:27:05 +00:00
Roland Weber
d4862a917b
HTTPCLIENT-618: class HostConfiguration is no more
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@558079 13f79535-47bb-0310-9956-ffa450edef68
2007-07-20 18:13:22 +00:00
Roland Weber
5f99e69191
added contrib attribution, to keep in style
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557711 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 18:06:29 +00:00
Roland Weber
5a90e4a07c
HTTPCLIENT-672: re-sync with core snapshot
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@557708 13f79535-47bb-0310-9956-ffa450edef68
2007-07-19 17:55:05 +00:00
Oleg Kalnichevski
38f23316bb
Added a statement on expected performance improvements to the release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555991 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:37:46 +00:00
Roland Weber
377178bd3c
minor textual changes, reformatted to 79 chars/line
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554901 13f79535-47bb-0310-9956-ffa450edef68
2007-07-10 10:41:41 +00:00
Oleg Kalnichevski
0c655260d2
4.0 alpha1 release statement
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554694 13f79535-47bb-0310-9956-ffa450edef68
2007-07-09 16:09:18 +00:00
Oleg Kalnichevski
b1a5b1e304
Added release notes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@554453 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 21:53:04 +00:00