Oleg Kalnichevski
b71fefd093
HTTPCLIENT-853: Fixed bug causing invalid cookie origin port to be selected when the target is accessed on the default port and the connection is established via a proxy
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780802 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 20:01:01 +00:00
Oleg Kalnichevski
6681a1193d
HTTPCLIENT-852: Fixed bug causing automatically retried redirects fail with CircularRedirectException
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@780611 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 10:39:05 +00:00
Oleg Kalnichevski
0b5dd9c3a5
Fixed problem with the default HTTP response parser failing to handle garbage preceding a valid HTTP response
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@765294 13f79535-47bb-0310-9956-ffa450edef68
2009-04-15 18:19:53 +00:00
Sam Berlin
165507b8d7
include the cause of a NonRepeatableRequestException when failing.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@758447 13f79535-47bb-0310-9956-ffa450edef68
2009-03-25 22:05:45 +00:00
Oleg Kalnichevski
bc063a1ad0
HTTPCLIENT-837: Fixed problem with the wire log skipping zero byte values if read one byte at a time.
...
Contributed by Kirill Safonov <ksafonov at swiftteams.com>
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@757528 13f79535-47bb-0310-9956-ffa450edef68
2009-03-23 20:14:05 +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
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
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
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
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
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
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
Oleg Kalnichevski
0cdd9b7fc2
Fixed bug that can cause a managed connection to be returned from the pool in an inconsistent state
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@708170 13f79535-47bb-0310-9956-ffa450edef68
2008-10-27 13:27:39 +00:00
Oleg Kalnichevski
9300827b9e
Removed outdated jardiff logs
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687115 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:05:24 +00:00
Oleg Kalnichevski
e07c5a6167
Updated the web site and POM descriptors for 4.0-beta1 release
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@687114 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:03:52 +00:00
Oleg Kalnichevski
d2b34bce20
HTTPCLIENT-790: Protocol interceptors not called when executing CONNECT methods
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@685136 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 12:53:49 +00:00
Oleg Kalnichevski
8a92c9712d
HTTPCLIENT-668: removed static loggers
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@673172 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 18:52:41 +00:00
Sam Berlin
4752936837
HTTPCLIENT-781 -- respect keep-alive header.
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@671717 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 04:03:24 +00:00
Sam Berlin
baaef5ace5
add HTTPCLIENT-779 change to release notes
...
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@664534 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 18:11:52 +00:00
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